mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 11:04:42 +00:00
rewrite remove duplicates to support removing duplicates in albums tracks efficiently
+ remove flags added to client settings page + misc
This commit is contained in:
1 parent
26e36ba36f
commit
13475b0630
16 files changed
+118
-95
No files matched your search
+1
-1
@@ -157,7 +157,7 @@ class TrackStore:
|
||||
Returns all tracks matching the given album hash.
|
||||
"""
|
||||
tracks = [t for t in cls.tracks if t.albumhash == album_hash]
|
||||
return remove_duplicates(tracks)
|
||||
return remove_duplicates(tracks, is_album_tracks=True)
|
||||
|
||||
@classmethod
|
||||
def get_tracks_by_artisthash(cls, artisthash: str):
|
||||
|
||||
Reference in new issue
Block a user