feat: add mobile devices stream config field (#2744)

This commit is contained in:
Jonas L 2023-10-14 09:13:04 +02:00 committed by GitHub
parent 8fb2a5d4e3
commit b2e512cbcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 47 additions and 1 deletions

View file

@ -220,6 +220,8 @@ class IcecastOutput(BaseModel):
website: Optional[str] = None
genre: Optional[str] = None
mobile: bool = False
_mount_no_leading_slash = no_leading_slash_validator("mount")
@ -244,6 +246,8 @@ class ShoutcastOutput(BaseModel):
website: Optional[str] = None
genre: Optional[str] = None
mobile: bool = False
class SystemOutputKind(str, Enum):
ALSA = "alsa"