0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
Kuba
2025-11-01 22:52:48 +01:00
parent b934ccb459
commit ab22aef14d

View File

@@ -8,7 +8,7 @@ def format_time(seconds):
return f"{hours:02d}:{minutes:02d}:{secs:02d}"
class Module(PlayerModule):
def progress(self, index: int, track: Track, elapsed: float, total: float):
def progress(self, index: int, track: Track, elapsed: float, total: float, real_total: float):
if track.official:
print(f"{os.path.basename(track.path)}: {format_time(elapsed)} / {format_time(total)}", end="\r", flush=True)