0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00

flask tst

This commit is contained in:
2025-12-06 17:24:38 +01:00
parent c873b9f7f1
commit 44c29d0120
2 changed files with 34 additions and 0 deletions

View File

@@ -11,5 +11,7 @@ class Module(PlayerModule):
if track.official:
data = f"{track.path.name}: {format_time(elapsed)} / {format_time(total)}\n"
Path("/tmp/radioPlayer_progress").write_text(data)
def shutdown(self):
Path("/tmp/radioPlayer_progress").write_text("")
module = Module()