You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
typo
This commit is contained in:
@@ -29,7 +29,7 @@ class PlayerModule:
|
||||
pass
|
||||
def imc_data(self, source: 'PlayerModule | ActiveModifier | PlaylistAdvisor', data: object, broadcast: bool) -> object:
|
||||
return None
|
||||
def progess(self, index: int, track: Track, elapsed: float, total: float):
|
||||
def progress(self, index: int, track: Track, elapsed: float, total: float):
|
||||
pass
|
||||
class PlaylistModifierModule:
|
||||
"""
|
||||
|
||||
@@ -8,6 +8,6 @@ def format_time(seconds):
|
||||
return f"{hours:02d}:{minutes:02d}:{secs:02d}"
|
||||
|
||||
class Module(PlayerModule):
|
||||
def progess(self, index: int, track: Track, elapsed: float, total: float):
|
||||
def progress(self, index: int, track: Track, elapsed: float, total: float):
|
||||
if track.official:
|
||||
print(f"{os.path.basename(track.path)}: {format_time(elapsed)} / {format_time(total)}", end="\r", flush=True)
|
||||
|
||||
Reference in New Issue
Block a user