feat: add Deezer as the default download source
- V9 adds source/external_id to songs, moods, recommendations and jobs - Deezer public catalog for search, related album covers and metadata - streamrip downloader configured with DEEZER_ARL, 128/320 MP3 - per-mood source selector; switching clears and refills recommendations - keep YouTube Music as a full second catalog and downloader - media layout <source>-<externalId>, legacy YouTube folders still read - Docker/streamrip install, chart ARL secret, docs and dual-source smoke test
This commit is contained in:
1 parent
81a47f4cd2
commit
141698282d
43 files changed
+2072
-605
No files matched your search
@@ -11,9 +11,8 @@ import java.security.MessageDigest
|
||||
import win.taptap.musicmanager.config.UsersConfig
|
||||
import win.taptap.musicmanager.db.ApiTokenRepository
|
||||
import win.taptap.musicmanager.discovery.DiscoveryService
|
||||
import win.taptap.musicmanager.discovery.MusicCatalogs
|
||||
import win.taptap.musicmanager.discovery.TopUpService
|
||||
import win.taptap.musicmanager.discovery.YtResolver
|
||||
import win.taptap.musicmanager.discovery.YtSearch
|
||||
import win.taptap.musicmanager.media.MediaGcService
|
||||
import win.taptap.musicmanager.media.MediaStore
|
||||
import win.taptap.musicmanager.radio.RadioService
|
||||
@@ -34,10 +33,10 @@ fun Route.apiRoutes(
|
||||
radioService: RadioService,
|
||||
discoveryService: DiscoveryService,
|
||||
topUpService: TopUpService,
|
||||
ytSearch: YtSearch,
|
||||
ytResolver: YtResolver,
|
||||
catalogs: MusicCatalogs,
|
||||
mediaStore: MediaStore,
|
||||
gc: MediaGcService,
|
||||
defaultSource: String,
|
||||
startScan: () -> Boolean,
|
||||
scanStatus: () -> ScanStatus,
|
||||
) {
|
||||
@@ -124,8 +123,17 @@ fun Route.apiRoutes(
|
||||
)
|
||||
}
|
||||
|
||||
songRoutes(users, ytSearch, mediaStore, coverArtService, transcoder)
|
||||
moodRoutes(users, radioService, discoveryService, topUpService, ytResolver, mediaStore, gc)
|
||||
songRoutes(users, catalogs, mediaStore, coverArtService, transcoder, defaultSource)
|
||||
moodRoutes(
|
||||
users = users,
|
||||
radioService = radioService,
|
||||
discoveryService = discoveryService,
|
||||
topUpService = topUpService,
|
||||
catalogs = catalogs,
|
||||
mediaStore = mediaStore,
|
||||
gc = gc,
|
||||
defaultSource = defaultSource,
|
||||
)
|
||||
sessionRoutes(users, radioService, gc)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user