Files
musicseerr/backend/api/v1/schemas/stream.py
T
Harvey 687a925545 Mus 10 issue playing music from jellyfin (#11)
* fix: proxy Jellyfin audio streams through backend to fix Docker playback

* fix: supportsShuffle on Jellyfin
2026-04-04 17:03:17 +01:00

22 lines
433 B
Python

from infrastructure.msgspec_fastapi import AppStruct
class PlaybackSessionResponse(AppStruct):
play_session_id: str
item_id: str
class StartPlaybackRequest(AppStruct):
play_session_id: str | None = None
class ProgressReportRequest(AppStruct):
play_session_id: str
position_seconds: float
is_paused: bool = False
class StopReportRequest(AppStruct):
play_session_id: str
position_seconds: float