fix: new user recently played data not being shown in homepage

+ fix: weird role labels on new users
+ remove system status tray
+ fix: tinytag removing b prefix on tags
This commit is contained in:
cwilvx
2025-05-31 16:55:42 +03:00
parent 20ebddfcff
commit 18fcd22827
12 changed files with 41 additions and 62 deletions
+1 -2
View File
@@ -198,7 +198,6 @@ class TrackStore:
Returns a list of tracks by their hashes.
"""
hash_set = set(trackhashes)
tracks: list[Track] = []
for trackhash in hash_set:
@@ -209,7 +208,7 @@ class TrackStore:
tracks.append(track)
# sort the tracks in the order of the given trackhashes
if type(trackhashes) == list:
if type(trackhashes) is list:
tracks.sort(key=lambda t: trackhashes.index(t.trackhash))
return tracks