diff options
author | Eddy Pedroni <epedroni@pm.me> | 2025-02-22 08:17:29 +0100 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2025-02-22 08:17:29 +0100 |
commit | eaec524a233c9ee11023f21d430bcbc2f4d5a17e (patch) | |
tree | 9028a1879aaa07c373bd51198f6aed60eb6dfd1b /solo-tool-project/src/solo_tool/playlist.py | |
parent | b676f88b21ef8046dcd3d9dac4b270007f2b959a (diff) |
Moved nextSong and previousSong to SoloToolController
Diffstat (limited to 'solo-tool-project/src/solo_tool/playlist.py')
-rw-r--r-- | solo-tool-project/src/solo_tool/playlist.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/solo-tool-project/src/solo_tool/playlist.py b/solo-tool-project/src/solo_tool/playlist.py index bbfd8f5..988cc04 100644 --- a/solo-tool-project/src/solo_tool/playlist.py +++ b/solo-tool-project/src/solo_tool/playlist.py @@ -24,17 +24,3 @@ class Playlist: def clear(self): self.__init__(self._setSongCallback) - - def nextSong(self): - if self._currentSong is None: - nextSong = 0 - else: - nextSong = self._currentSong + 1 - self.setCurrentSong(nextSong) - - def previousSong(self): - if self._currentSong is None: - prevSong = 0 - else: - prevSong = self._currentSong - 1 - self.setCurrentSong(prevSong) |