store playcount and duration on the track table

+ allow sorting all items with those two
+ add methods to update scrobble info
This commit is contained in:
cwilvx
2024-06-30 19:33:13 +03:00
parent 4a9f804e70
commit b9ad07441a
15 changed files with 161 additions and 45 deletions
+3
View File
@@ -29,6 +29,9 @@ class Track:
track: int
trackhash: str
extra: dict
lastplayed: int
playcount: int
playduration: int
is_favorite: bool = False
_pos: int = 0