formatting / minor
This commit is contained in:
@@ -795,7 +795,7 @@ class SRUtil:
|
||||
tracks_with_diff.sort(key=lambda x: x[1])
|
||||
best_track, min_diff = tracks_with_diff[0]
|
||||
logging.info(f"SR: Best match duration diff: {min_diff}s")
|
||||
# If the closest match is more than 5 seconds off, consider no match
|
||||
# If the closest match is more than 10 seconds off, consider no match
|
||||
if min_diff > 10:
|
||||
logging.info("SR: Duration diff too large, no match")
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user