You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 13:52:00 +01:00
move a thing
This commit is contained in:
@@ -221,14 +221,14 @@ def play_playlist(playlist_path):
|
||||
|
||||
elapsed = time.time() - start
|
||||
remaining_until_end = end_time - time.time()
|
||||
total_uptime = time.time() - loop_start
|
||||
|
||||
if track.official: print(f"{track_name}: {format_time(total_uptime)} / {format_time(pr.duration)}")
|
||||
|
||||
if elapsed < 1 and remaining_until_end > 0:
|
||||
sleep_duration = min(1 - elapsed, remaining_until_end)
|
||||
time.sleep(sleep_duration)
|
||||
|
||||
total_uptime = time.time() - loop_start
|
||||
if track.official: print(f"{track_name}: {format_time(total_uptime)} / {format_time(pr.duration)}")
|
||||
|
||||
i += 1
|
||||
if not extend: song_i += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user