mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-10 07:58:39 -05:00
Features: - SpotifyApiClient: Direct Spotify API client using sp_dc session cookie - SpotifyLyricsService: Fetch synced lyrics from Spotify's color-lyrics API - SpotifyPlaylistFetcher: Get playlists with correct track ordering and ISRC codes - SpotifyTrackMatchingService: ISRC-based exact track matching for external providers Improvements: - Lyrics endpoint now prioritizes: 1) Jellyfin embedded, 2) Spotify synced, 3) LRCLIB - Fixed playback progress reporting - removed incorrect body wrapping for Jellyfin API - Added SpotifyApiSettings configuration model Security: - Session cookie and client ID properly masked in startup logs - All credentials read from environment variables only
74 lines
1.5 KiB
JSON
74 lines
1.5 KiB
JSON
{
|
|
"Backend": {
|
|
"Type": "Subsonic"
|
|
},
|
|
"Subsonic": {
|
|
"Url": "http://localhost:4533",
|
|
"MusicService": "SquidWTF",
|
|
"ExplicitFilter": "All",
|
|
"DownloadMode": "Track",
|
|
"StorageMode": "Permanent",
|
|
"CacheDurationHours": 1,
|
|
"EnableExternalPlaylists": true
|
|
},
|
|
"Jellyfin": {
|
|
"Url": "http://localhost:8096",
|
|
"ApiKey": "",
|
|
"UserId": "",
|
|
"LibraryId": "",
|
|
"MusicService": "SquidWTF",
|
|
"ExplicitFilter": "All",
|
|
"DownloadMode": "Track",
|
|
"StorageMode": "Permanent",
|
|
"CacheDurationHours": 1,
|
|
"EnableExternalPlaylists": true
|
|
},
|
|
"Library": {
|
|
"DownloadPath": "./downloads"
|
|
},
|
|
"Qobuz": {
|
|
"UserAuthToken": "your-qobuz-token",
|
|
"UserId": "your-qobuz-user-id",
|
|
"Quality": "FLAC"
|
|
},
|
|
"Deezer": {
|
|
"Arl": "your-deezer-arl-token",
|
|
"ArlFallback": "",
|
|
"Quality": "FLAC"
|
|
},
|
|
"SquidWTF": {
|
|
"Quality": "FLAC"
|
|
},
|
|
"Redis": {
|
|
"Enabled": true,
|
|
"ConnectionString": "localhost:6379"
|
|
},
|
|
"SpotifyImport": {
|
|
"Enabled": false,
|
|
"SyncStartHour": 16,
|
|
"SyncStartMinute": 15,
|
|
"SyncWindowHours": 2,
|
|
"Playlists": [
|
|
{
|
|
"Name": "Release Radar",
|
|
"SpotifyName": "Release Radar",
|
|
"Enabled": true
|
|
},
|
|
{
|
|
"Name": "Discover Weekly",
|
|
"SpotifyName": "Discover Weekly",
|
|
"Enabled": true
|
|
}
|
|
]
|
|
},
|
|
"SpotifyApi": {
|
|
"Enabled": false,
|
|
"ClientId": "",
|
|
"ClientSecret": "",
|
|
"SessionCookie": "",
|
|
"CacheDurationMinutes": 60,
|
|
"RateLimitDelayMs": 100,
|
|
"PreferIsrcMatching": true
|
|
}
|
|
}
|