From eaec524a233c9ee11023f21d430bcbc2f4d5a17e Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sat, 22 Feb 2025 08:17:29 +0100 Subject: Moved nextSong and previousSong to SoloToolController --- solo-tool-project/src/solo_tool/playlist.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'solo-tool-project/src/solo_tool/playlist.py') 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) -- cgit v1.2.3