aboutsummaryrefslogtreecommitdiffstats
path: root/player_mock.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2022-01-09 18:48:55 +0100
committerEddy Pedroni <eddy@0xf7.com>2022-01-09 18:48:55 +0100
commitd6403961e778db1f0f6a5e45147770714449fa8c (patch)
tree6c5f5c5820ac5f6b2b4b5072496c5d2f22f0148f /player_mock.py
parentc2d40c6dc0c14edd96bf9832d097347b15f672e3 (diff)
Fixed MIDI controller bug
Diffstat (limited to 'player_mock.py')
-rw-r--r--player_mock.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/player_mock.py b/player_mock.py
index ee3801d..3162e0f 100644
--- a/player_mock.py
+++ b/player_mock.py
@@ -55,6 +55,7 @@ class Player():
return self.volume
def setCurrentSong(self, path):
+ self.stop()
self.currentSong = path
def setPlayingStateChangedCallback(self, callback):