fix(subsonic): return empty opensubsonic fields

https://github.com/sentriz/gonic/pull/397#issuecomment-1806794844
This commit is contained in:
sentriz
2023-11-11 12:32:33 +00:00
parent 3f100fa3a4
commit 5022500b30
12 changed files with 336 additions and 132 deletions

View File

@@ -9,6 +9,11 @@
"album": [
{
"id": "al-3",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -18,6 +23,11 @@
},
{
"id": "al-4",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -27,6 +37,11 @@
},
{
"id": "al-5",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -36,6 +51,11 @@
},
{
"id": "al-7",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -45,6 +65,11 @@
},
{
"id": "al-8",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -54,6 +79,11 @@
},
{
"id": "al-9",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -63,6 +93,11 @@
},
{
"id": "al-11",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-11",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -72,6 +107,11 @@
},
{
"id": "al-12",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-12",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -81,6 +121,11 @@
},
{
"id": "al-13",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-13",
"created": "2019-11-30T00:00:00Z",
"isDir": true,