From d6403961e778db1f0f6a5e45147770714449fa8c Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sun, 9 Jan 2022 18:48:55 +0100 Subject: Fixed MIDI controller bug --- player_vlc.py | 1 + 1 file changed, 1 insertion(+) (limited to 'player_vlc.py') diff --git a/player_vlc.py b/player_vlc.py index a7244bb..283102e 100644 --- a/player_vlc.py +++ b/player_vlc.py @@ -36,6 +36,7 @@ class Player: return self._player.audio_get_volume() / 100.0 def setCurrentSong(self, path): + self._player.stop() media = vlc.Media(path) self._player.set_media(media) -- cgit v1.2.3