fix op25.liq generation
This commit is contained in:
@@ -13,7 +13,7 @@ def generate_liquid_script(config: IcecastConfig):
|
|||||||
Keys should match the variable names in the template (e.g., 'icecast_host').
|
Keys should match the variable names in the template (e.g., 'icecast_host').
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
content = liquidsoap_config_template
|
content = liquidsoap_config_template.model_dump()
|
||||||
# Replace variables
|
# Replace variables
|
||||||
for key, value in config.items():
|
for key, value in config.items():
|
||||||
placeholder = f"${{{key}}}"
|
placeholder = f"${{{key}}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user