def matcher(): from bw_plex.audfprint.audfprint_match import Matcher m = Matcher() m.find_time_range = True m.search_depth = 2000 m.verbose = True m.exact_count = True m.max_returns = 100 # Remember https://github.com/dpwe/audfprint/issues/8 m.time_quantile = 0.02 # This need to be high as we might get to many hashes before # we have found the end. m.max_alignments_per_id = 10000 #m.sort_by_time = True # remove this? return m
def matcher(): from bw_plex.audfprint.audfprint_match import Matcher m = Matcher() m.find_time_range = True m.search_depth = 2000 m.verbose = True m.exact_count = True #m.time_quantile = 0.02 # This need to be high as we might get to many hashes before # we have found the end. m.max_alignments_per_id = 10000 #m.sort_by_time = True return m