From 2220ca764827ba5426010600c54a9e78f06863e8 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 17 Nov 2024 20:16:26 +0000 Subject: [PATCH] Update client.py to remove commented-out code --- syncplay/client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/syncplay/client.py b/syncplay/client.py index 4690d543..c7361244 100755 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -269,7 +269,6 @@ def prepareToAdvancePlaylist(self): if self.playlist.canSwitchToNextPlaylistIndex(): self.ui.showDebugMessage("Preparing to advance playlist...") self.lastAdvanceTime = time.time() - #self._protocol.sendState(0, True, True, None, True) else: self.ui.showDebugMessage("Not preparing to advance playlist because the next file cannot be switched to") @@ -1876,8 +1875,6 @@ def changeToPlaylistIndex(self, index, username=None, resetPosition=False): self._playlistIndex = index if username is None: if self._client.isConnectedAndInARoom() and self._client.sharedPlaylistIsEnabled(): - '''if resetPosition: - self._client.rewindFile()''' self._client.setPlaylistIndex(index) filename = self._playlist[index] self._ui.setPlaylistIndexFilename(filename)