diff --git a/syncplay/constants.py b/syncplay/constants.py index e0e4648..eb5468a 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -40,7 +40,7 @@ SLOWDOWN_RATE = 0.95 DEFAULT_SLOWDOWN_KICKIN_THRESHOLD = 1.5 MINIMUM_SLOWDOWN_THRESHOLD = 1.3 SLOWDOWN_RESET_THRESHOLD = 0.1 -DIFFFERENT_DURATION_THRESHOLD = 2.5 +DIFFERENT_DURATION_THRESHOLD = 2.5 PROTOCOL_TIMEOUT = 12.5 RECONNECT_RETRIES = 10 SERVER_STATE_INTERVAL = 1 diff --git a/syncplay/utils.py b/syncplay/utils.py index 165330e..dc9756a 100644 --- a/syncplay/utils.py +++ b/syncplay/utils.py @@ -205,7 +205,7 @@ def sameFilesize (filesize1, filesize2): def sameFileduration (duration1, duration2): if not constants.SHOW_DURATION_NOTIFICATION: return True - elif abs(round(duration1) - round(duration2)) < constants.DIFFFERENT_DURATION_THRESHOLD: + elif abs(round(duration1) - round(duration2)) < constants.DIFFERENT_DURATION_THRESHOLD: return True else: return False