From e1af902f7c7e2a4536f41c86c99bd0c578a70178 Mon Sep 17 00:00:00 2001 From: Alberto Sottile Date: Sun, 10 Feb 2019 15:57:52 +0100 Subject: [PATCH] VLC: hopefully fixes issue #213 --- syncplay/players/vlc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/syncplay/players/vlc.py b/syncplay/players/vlc.py index 0575dd2..2f7cf8c 100755 --- a/syncplay/players/vlc.py +++ b/syncplay/players/vlc.py @@ -229,6 +229,7 @@ class VlcPlayer(BasePlayer): self._paused == False and self._position == self._previousPreviousPosition and self._previousPosition == self._position and + self._duration and self._duration > constants.PLAYLIST_LOAD_NEXT_FILE_MINIMUM_LENGTH and (self._duration - self._position) < constants.VLC_EOF_DURATION_THRESHOLD and diff > constants.VLC_LATENCY_ERROR_THRESHOLD