soulsync/config/config.example.json
Broque Thomas cfa4a0c59f Add $artistletter and multi-disc support
Introduce $artistletter and $disc template variables across config, UI, and backend to support artist-first-letter tokens and multi-disc albums. Update web_server.py to include disc_number in template context, prefer user-controlled $disc in templates, and create configurable disc subfolders using a new file_organization.disc_label setting. Update example and active config, web UI to expose the new variable and disc label selector, and script.js to validate, load, and save the new settings and substitutions.
2026-02-20 22:53:15 -08:00

69 lines
No EOL
1.8 KiB
JSON

{
"active_media_server": "plex",
"spotify": {
"client_id": "SpotifyClientID",
"client_secret": "SpotifyClientSecret",
"redirect_uri": "http://127.0.0.1:8888/callback"
},
"tidal": {
"client_id": "TidalClientID",
"client_secret": "TidalClientSecret",
"redirect_uri": "http://127.0.0.1:8889/tidal/callback"
},
"plex": {
"base_url": "http://192.168.86.36:32400",
"token": "PLEX_API_TOKEN",
"auto_detect": true
},
"jellyfin": {
"base_url": "http://localhost:8096",
"api_key": "JELLYFIN_API_KEY",
"auto_detect": true
},
"navidrome": {
"base_url": "http://localhost:4533",
"username": "NAVIDROME_USERNAME",
"password": "NAVIDROME_PASSWORD",
"auto_detect": true
},
"soulseek": {
"slskd_url": "http://host.docker.internal:5030",
"api_key": "SoulseekAPIKey",
"download_path": "/app/downloads",
"transfer_path": "/app/Transfer",
"search_timeout": 60,
"search_timeout_buffer": 15
},
"logging": {
"path": "logs/app.log",
"level": "INFO"
},
"database": {
"path": "database/music_library.db",
"max_workers": 5
},
"metadata_enhancement": {
"enabled": true,
"embed_album_art": true
},
"file_organization": {
"enabled": true,
"_template_variables": "Available: $artist, $albumartist, $artistletter, $album, $title, $track, $disc, $year, $playlist, $quality (filename only)",
"templates": {
"album_path": "$albumartist/$albumartist - $album/$track - $title",
"single_path": "$artist/$artist - $title/$title",
"compilation_path": "Compilations/$album/$track - $artist - $title",
"playlist_path": "$playlist/$artist - $title"
}
},
"lossy_copy": {
"enabled": false,
"bitrate": "320"
},
"playlist_sync": {
"create_backup": true
},
"listenbrainz": {
"token": "LISTENBRAINZ_TOKEN"
}
}