Initial commit: Media Server for remote media control

FastAPI REST API server for controlling system-wide media playback
on Windows, Linux, macOS, and Android.

Features:
- Play/Pause/Stop/Next/Previous track controls
- Volume control and mute
- Seek within tracks
- Current track info (title, artist, album, artwork)
- WebSocket real-time status updates
- Script execution API
- Token-based authentication
- Cross-platform support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 14:41:00 +03:00
commit 83acf5f1ec
26 changed files with 3562 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
"""Pydantic models for the media server API."""
from .media import (
MediaState,
MediaStatus,
VolumeRequest,
SeekRequest,
MediaInfo,
)
__all__ = [
"MediaState",
"MediaStatus",
"VolumeRequest",
"SeekRequest",
"MediaInfo",
]