mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
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:
+1
-1
@@ -63,4 +63,4 @@ def seconds_to_time_string(seconds):
|
||||
if minutes > 0:
|
||||
return f"{minutes} minute{'s' if minutes > 1 else ''}"
|
||||
|
||||
return f"{remaining_seconds} second{'s' if remaining_seconds > 1 else ''}"
|
||||
return f"{remaining_seconds} second{'' if remaining_seconds == 1 else 's'}"
|
||||
|
||||
Reference in New Issue
Block a user