mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
handle favorites on recently played
+ use client side timestamp on track logger
This commit is contained in:
@@ -24,6 +24,7 @@ class Track:
|
||||
"ar:": "artist",
|
||||
"pl:": "playlist",
|
||||
"fo:": "folder",
|
||||
"favorite": "favorite",
|
||||
}
|
||||
|
||||
for prefix, srctype in prefix_map.items():
|
||||
@@ -31,6 +32,7 @@ class Track:
|
||||
try:
|
||||
self.type_src = self.source.split(":", 1)[1]
|
||||
except IndexError:
|
||||
pass
|
||||
self.type_src = None
|
||||
|
||||
self.type = srctype
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user