Restyle New album page design (#77)

This commit is contained in:
restyled-io[bot]
2022-07-06 17:38:11 +03:00
committed by Mungai Geoffrey
parent 95ad7ceadc
commit 73891aa5cf
8 changed files with 29 additions and 28 deletions
+2 -6
View File
@@ -64,12 +64,8 @@ def get_album():
except AttributeError:
album.duration = 0
if (
album.count == 1
and tracks[0].title == album.title
and tracks[0].tracknumber == 1
and tracks[0].disknumber == 1
):
if (album.count == 1 and tracks[0].title == album.title
and tracks[0].tracknumber == 1 and tracks[0].disknumber == 1):
album.is_single = True
return {"tracks": tracks, "info": album}