forked from Wobbl/Wobuzz
Playlists now get loaded when they are started and removed debug prints.
This commit is contained in:
parent
0879575882
commit
0c2c91389d
5 changed files with 12 additions and 30 deletions
|
@ -58,7 +58,8 @@ class Library:
|
|||
|
||||
def on_exit(self, event):
|
||||
for playlist in self.playlists:
|
||||
playlist.save()
|
||||
if playlist.loaded: # only save loaded playlists, unloaded are empty
|
||||
playlist.save()
|
||||
|
||||
if self.app.player.current_playlist is not None:
|
||||
self.app.settings.latest_playlist = self.app.player.current_playlist.path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue