1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00

Fix pony leftover in jukebox

This commit is contained in:
Alban Féron 2023-01-01 17:21:35 +01:00
parent 4d249adcf2
commit 09d48fdb2e
No known key found for this signature in database
GPG Key ID: 8CE0313646D16165

View File

@ -89,7 +89,7 @@ def jukebox_control():
for path in status.playlist: for path in status.playlist:
try: try:
playlist.append(Track.get(path=path)) playlist.append(Track.get(path=path))
except ObjectNotFound: except Track.DoesNotExist:
pass pass
rv["entry"] = [ rv["entry"] = [
t.as_subsonic_child(request.user, request.client) for t in playlist t.as_subsonic_child(request.user, request.client) for t in playlist