Initial project structure for Klangkiste

This commit is contained in:
2026-01-11 21:24:50 +00:00
commit 83bd89a25a
45 changed files with 695 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"""Base player interface for audio playback."""
from __future__ import annotations
from typing import Protocol
class BasePlayer(Protocol):
def play(self, media_ref: str) -> None:
raise NotImplementedError
def pause(self) -> None:
raise NotImplementedError
def stop(self) -> None:
raise NotImplementedError
def set_volume(self, volume: int) -> None:
raise NotImplementedError