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
@@ -16,8 +16,8 @@ class IdGeneratorTest {
|
||||
|
||||
@Test
|
||||
fun `song IDs are deterministic, prefixed and 24 hex characters`() {
|
||||
val first = IdGenerator.songId("dQw4w9WgXcQ")
|
||||
val second = IdGenerator.songId(" dQw4w9WgXcQ ")
|
||||
val first = IdGenerator.songId("youtube", "dQw4w9WgXcQ")
|
||||
val second = IdGenerator.songId("youtube", " dQw4w9WgXcQ ")
|
||||
|
||||
assertEquals(first, second)
|
||||
assertTrue(first.startsWith("sg-"))
|
||||
@@ -27,8 +27,8 @@ class IdGeneratorTest {
|
||||
@Test
|
||||
fun `different videos produce different IDs`() {
|
||||
assertNotEquals(
|
||||
IdGenerator.songId("dQw4w9WgXcQ"),
|
||||
IdGenerator.songId("dQw4w9WgXcR"),
|
||||
IdGenerator.songId("youtube", "dQw4w9WgXcQ"),
|
||||
IdGenerator.songId("youtube", "dQw4w9WgXcR"),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user