From 2e6550ec533b99b7a441a2d374f57d55fc05838c Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Mon, 23 Feb 2026 12:14:53 -0800 Subject: [PATCH] Disable M3U export by default Set m3u_export.enabled default to false and update the UI so the M3U auto-save checkbox is unchecked unless explicitly enabled. Changes: config/settings.py flips the default to false, webui/index.html removes the checked attribute from the checkbox, and webui/static/script.js adjusts the logic to only check the box when settings.m3u_export.enabled === true. This prevents automatic M3U exports for users who don't explicitly opt in. --- config/settings.py | 2 +- webui/index.html | 2 +- webui/static/script.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/settings.py b/config/settings.py index 9163d6ed..2d44f779 100644 --- a/config/settings.py +++ b/config/settings.py @@ -229,7 +229,7 @@ class ConfigManager: "staging_path": "./Staging" }, "m3u_export": { - "enabled": True + "enabled": False } } diff --git a/webui/index.html b/webui/index.html index 8b2b4548..353a2d58 100644 --- a/webui/index.html +++ b/webui/index.html @@ -3384,7 +3384,7 @@
diff --git a/webui/static/script.js b/webui/static/script.js index 678261bc..c7f17de5 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -1846,7 +1846,7 @@ async function loadSettingsData() { settings.lossy_copy?.enabled ? 'block' : 'none'; // Populate M3U Export settings - document.getElementById('m3u-export-enabled').checked = settings.m3u_export?.enabled !== false; + document.getElementById('m3u-export-enabled').checked = settings.m3u_export?.enabled === true; // Populate Logging information (read-only) document.getElementById('log-level-display').textContent = settings.logging?.level || 'INFO';