Skip to content
Snippets Groups Projects
Unverified Commit 7b81d94e authored by Agate's avatar Agate 💬
Browse files

Fix #1082: issue when displaying starred tracks on subsonic

parent c1e2f16d
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ def get_track_data(album, track, upload):
data["bitrate"] = int(upload.bitrate / 1000)
if upload.size:
data["size"] = upload.size
if album.release_date:
if album and album.release_date:
data["year"] = album.release_date.year
else:
data["year"] = track.creation_date.year
......
Fixed issue when displaying starred tracks on subsonic (#1082)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment