diff --git a/webui/index.html b/webui/index.html index ddfebae5..d4456799 100644 --- a/webui/index.html +++ b/webui/index.html @@ -4125,6 +4125,18 @@ +
+
Or use an ARL token for playlist access and downloads (no OAuth app needed):
+
+
+ + +
+
+
Log into deezer.com + → DevTools (F12) → Application → Cookies → copy the arl value. Provides playlist access + downloads.
+
diff --git a/webui/static/script.js b/webui/static/script.js index f6f9034a..419133df 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -5894,6 +5894,14 @@ async function loadSettingsData() { document.getElementById('deezer-download-quality').value = settings.deezer_download?.quality || 'flac'; document.getElementById('deezer-allow-fallback').checked = settings.deezer_download?.allow_fallback !== false; document.getElementById('deezer-download-arl').value = settings.deezer_download?.arl || ''; + // Sync ARL to connections tab field + bidirectional listeners + const _connArl = document.getElementById('deezer-connection-arl'); + const _dlArl = document.getElementById('deezer-download-arl'); + if (_connArl) _connArl.value = settings.deezer_download?.arl || ''; + if (_connArl && _dlArl) { + _connArl.addEventListener('input', () => { _dlArl.value = _connArl.value; }); + _dlArl.addEventListener('input', () => { _connArl.value = _dlArl.value; }); + } // Populate YouTube settings document.getElementById('youtube-cookies-browser').value = settings.youtube?.cookies_browser || '';