0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

better procman api

This commit is contained in:
KubaPro010
2025-11-05 21:25:02 +01:00
parent cda38d74ef
commit c87c63618b
2 changed files with 11 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ class Process:
class Skeleton_ProcessManager:
processes: list[Process]
def _get_audio_duration(self, file_path): ...
def play(self, track_path: str, fade_in: bool=False, fade_out: bool=False, fade_time: int=5, offset: float=0.0) -> Process: ...
def play(self, track: Track, fade_time: int=5) -> Process: ...
def anything_playing(self) -> bool: ...
def stop_all(self, timeout: float | None = None) -> None: ...
def wait_all(self, timeout: float | None = None) -> None: ...