Skip to content

Commit

Permalink
Update client.py to remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Nov 17, 2024
1 parent 25a2a5f commit 2220ca7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions syncplay/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2220ca7

Please sign in to comment.