mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 15:21:16 +00:00
fix: stat wrong key
This commit is contained in:
1 parent
be4a442a3b
commit
e689d81d81
1 file changed
+1
-1
+1
-1
@@ -203,7 +203,7 @@ def get_track_group_stats(tracks: list[Track], is_album: bool = False):
|
||||
f"{unplayed_count}/{len(tracks)} tracks",
|
||||
)
|
||||
|
||||
play_duration = sum(track.duration for track in played_tracks)
|
||||
play_duration = sum(track.playduration for track in played_tracks)
|
||||
play_duration_stat = StatItem(
|
||||
"play_duration",
|
||||
"listened all time",
|
||||
|
||||
Reference in new issue
Block a user