Explcitly stop player and release it at end of track
This commit is contained in:
parent
6ad141162d
commit
5492ad58d5
@ -540,6 +540,8 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
self.current_track_playlist = None
|
||||
self.previous_track_position = 0
|
||||
self.update_headers()
|
||||
# Release player
|
||||
self.music.stop()
|
||||
|
||||
def update_headers(self):
|
||||
"Update last / current / next track headers"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user