Fixed a crash where the current_track of a playlist won't get updated when the playlist is loaded from the command line.

This commit is contained in:
The Wobbler 2025-01-26 12:07:18 +01:00
parent 2b1310990a
commit 027c2f6ac8
3 changed files with 9 additions and 2 deletions

View file

@ -23,6 +23,7 @@ class Library:
def load(self):
path_playlists = f"{self.app.settings.library_path}/playlists"
if not os.path.exists(path_playlists):
os.makedirs(path_playlists)