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>
18 lines
265 B
Python
18 lines
265 B
Python
"""Pydantic models for the media server API."""
|
|
|
|
from .media import (
|
|
MediaState,
|
|
MediaStatus,
|
|
VolumeRequest,
|
|
SeekRequest,
|
|
MediaInfo,
|
|
)
|
|
|
|
__all__ = [
|
|
"MediaState",
|
|
"MediaStatus",
|
|
"VolumeRequest",
|
|
"SeekRequest",
|
|
"MediaInfo",
|
|
]
|