feat(subsonic): make it easier to add more tag reading backends

related https://github.com/sentriz/gonic/issues/379
related https://github.com/sentriz/gonic/issues/324
related https://github.com/sentriz/gonic/issues/244
This commit is contained in:
sentriz
2023-10-02 20:02:38 +01:00
parent ae82153d79
commit 8382f6123c
18 changed files with 370 additions and 383 deletions

View File

@@ -28,7 +28,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -50,7 +50,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -72,7 +72,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,

View File

@@ -15,7 +15,7 @@
"album": "album-0",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -35,7 +35,7 @@
"album": "album-0",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -55,7 +55,7 @@
"album": "album-0",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,

View File

@@ -14,7 +14,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -37,7 +37,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -60,7 +60,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -83,7 +83,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -106,7 +106,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -129,7 +129,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -152,7 +152,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -175,7 +175,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -198,7 +198,7 @@
"artist": "artist-0",
"artistId": "ar-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -221,7 +221,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -244,7 +244,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -267,7 +267,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -290,7 +290,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -313,7 +313,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -336,7 +336,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -359,7 +359,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -382,7 +382,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -405,7 +405,7 @@
"artist": "artist-1",
"artistId": "ar-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -428,7 +428,7 @@
"artist": "artist-2",
"artistId": "ar-3",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-11",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -451,7 +451,7 @@
"artist": "artist-2",
"artistId": "ar-3",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-11",
"created": "2019-11-30T00:00:00Z",
"duration": 100,

View File

@@ -12,7 +12,7 @@
"album": "album-0",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -32,7 +32,7 @@
"album": "album-0",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -52,7 +52,7 @@
"album": "album-0",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -72,7 +72,7 @@
"album": "album-1",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -92,7 +92,7 @@
"album": "album-1",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -112,7 +112,7 @@
"album": "album-1",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -132,7 +132,7 @@
"album": "album-2",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -152,7 +152,7 @@
"album": "album-2",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -172,7 +172,7 @@
"album": "album-2",
"artist": "artist-0",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -192,7 +192,7 @@
"album": "album-0",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -212,7 +212,7 @@
"album": "album-0",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -232,7 +232,7 @@
"album": "album-0",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -252,7 +252,7 @@
"album": "album-1",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -272,7 +272,7 @@
"album": "album-1",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -292,7 +292,7 @@
"album": "album-1",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -312,7 +312,7 @@
"album": "album-2",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -332,7 +332,7 @@
"album": "album-2",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -352,7 +352,7 @@
"album": "album-2",
"artist": "artist-1",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -372,7 +372,7 @@
"album": "album-0",
"artist": "artist-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-11",
"created": "2019-11-30T00:00:00Z",
"duration": 100,
@@ -392,7 +392,7 @@
"album": "album-0",
"artist": "artist-2",
"bitRate": 100,
"contentType": "audio/x-flac",
"contentType": "audio/flac",
"coverArt": "al-11",
"created": "2019-11-30T00:00:00Z",
"duration": 100,