aboutsummaryrefslogtreecommitdiffstats
path: root/player_vlc.py
diff options
context:
space:
mode:
Diffstat (limited to 'player_vlc.py')
-rw-r--r--player_vlc.py1
1 files changed, 1 insertions, 0 deletions
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)