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

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