diff --git a/modules/cli_progress.py b/modules/cli_progress.py index 9b494f3..bb43d3a 100644 --- a/modules/cli_progress.py +++ b/modules/cli_progress.py @@ -11,5 +11,8 @@ class Module(PlayerModule): def progress(self, index: int, track: Track, elapsed: float, total: float, real_total: float) -> None: if track.official: print(f"{os.path.basename(track.path)}: {format_time(elapsed)} / {format_time(total)}", end="\r", flush=True) + if os.path.exists("/tmp/radioPlayer_skip"): + self._imc.send(self, "procman", {"op": 2}) + os.remove("/tmp/radioPlayer_skip") module = Module() \ No newline at end of file