None of it got downloads working on the flagged datacenter IP (web_music media 403, then 429 rate-limiting), so revert the whole lot to keep things clean: - config.js: remove potProviderUrl + ytdlpProxy - ytdlp.js: remove potArgs/proxyArgs; player_client back to web_music,default - novasonic-server.js: remove pot/proxy args from importer resolve - docker-compose.yml: remove the bgutil-provider service + backend env/plugin/depends_on - CHANGELOG: drop the [2.2] section Kept the one genuine fix: a failed direct-link download now reports failure (moved its note into [2.1]). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
602 B
JavaScript
14 lines
602 B
JavaScript
const CONFIG = {
|
|
port: process.env.PORT || 3700,
|
|
musicPath: process.env.MUSIC_PATH || '/music',
|
|
dataPath: process.env.DATA_PATH || '/data',
|
|
ytdlpBin: process.env.YTDLP_BIN || 'yt-dlp',
|
|
audioFmt: process.env.AUDIO_FMT || 'mp3',
|
|
audioQuality: process.env.AUDIO_QUALITY || '0',
|
|
maxParallel: parseInt(process.env.MAX_PARALLEL || '2', 10),
|
|
downloadBackend: (process.env.DOWNLOAD_BACKEND || 'ytdlp').toLowerCase(),
|
|
ticketmasterKey: process.env.TICKETMASTER_API_KEY || '',
|
|
};
|
|
|
|
module.exports = CONFIG;
|