From 0533ac44c7658e6c63a3725250dda5ad635c4892 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Thu, 23 Oct 2025 02:55:44 -0400 Subject: [PATCH] fix op25.liq generation pt2 --- app/internal/liquidsoap_config_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/internal/liquidsoap_config_utils.py b/app/internal/liquidsoap_config_utils.py index 7771a25..fc6c878 100644 --- a/app/internal/liquidsoap_config_utils.py +++ b/app/internal/liquidsoap_config_utils.py @@ -13,9 +13,9 @@ def generate_liquid_script(config: IcecastConfig): Keys should match the variable names in the template (e.g., 'icecast_host'). """ try: - content = liquidsoap_config_template.model_dump() + content = liquidsoap_config_template # Replace variables - for key, value in config.items(): + for key, value in config.model_dump().items(): placeholder = f"${{{key}}}" # Ensure the value is converted to string for replacement content = content.replace(placeholder, str(value))