Add icecast config to the config generator endpoint
Some checks failed
Lint / lint (push) Failing after 5s
Some checks failed
Lint / lint (push) Failing after 5s
This commit is contained in:
@@ -17,6 +17,7 @@ class ConfigGenerator(BaseModel):
|
||||
channels: List[Union[int, str]]
|
||||
tags: Optional[List[TalkgroupTag]]
|
||||
whitelist: Optional[List[int]]
|
||||
icecastConfig: Optional[MetadataStreamConfig]
|
||||
|
||||
class DemodType(str, Enum):
|
||||
CQPSK = "cqpsk"
|
||||
|
||||
@@ -72,7 +72,7 @@ def create_op25_router():
|
||||
)
|
||||
|
||||
metadata = MetadataConfig(
|
||||
streams=[MetadataStreamConfig()]
|
||||
streams=[generator.icecastConfig]
|
||||
)
|
||||
|
||||
terminal = TerminalConfig()
|
||||
|
||||
Reference in New Issue
Block a user