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

@@ -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,