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

@@ -440,7 +440,7 @@ func populateTrack(tx *db.DB, album *db.Album, track *db.Track, trags tagcommon.
track.TagTitle = trags.Title()
track.TagTitleUDec = decoded(trags.Title())
track.TagTrackArtist = trags.Artist()
track.TagTrackArtist = tagcommon.MustArtist(trags)
track.TagTrackNumber = trags.TrackNumber()
track.TagDiscNumber = trags.DiscNumber()
track.TagBrainzID = trags.BrainzID()

View File

@@ -127,10 +127,10 @@ type Album struct {
// legacy or single tag mode
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
Artist string `xml:"artist,attr,omitempty" json:"artist,omitempty"`
Artist string `xml:"artist,attr" json:"artist"`
Artists []*ArtistRef `xml:"artists,omitempty" json:"artists,omitempty"`
DisplayArtist string `xml:"diplayArtist,attr,omitempty" json:"displayArtist,omitempty"`
Artists []*ArtistRef `xml:"artists" json:"artists"`
DisplayArtist string `xml:"diplayArtist,attr" json:"displayArtist"`
// folder stuff
Title string `xml:"title,attr,omitempty" json:"title"`
@@ -173,14 +173,14 @@ type TrackChild struct {
AlbumID *specid.ID `xml:"albumId,attr,omitempty" json:"albumId,omitempty"`
// legacy or single tag mode
Artist string `xml:"artist,attr,omitempty" json:"artist,omitempty"`
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
Artist string `xml:"artist,attr" json:"artist"`
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
Artists []*ArtistRef `xml:"artists,omitempty" json:"artists,omitempty"`
DisplayArtist string `xml:"diplayArtist,attr,omitempty" json:"displayArtist,omitempty"`
Artists []*ArtistRef `xml:"artists" json:"artists"`
DisplayArtist string `xml:"diplayArtist,attr" json:"displayArtist"`
AlbumArtists []*ArtistRef `xml:"albumArtists,omitempty" json:"albumArtists,omitempty"`
AlbumDisplayArtist string `xml:"diplayAlbumArtist,attr,omitempty" json:"displayAlbumArtist,omitempty"`
AlbumArtists []*ArtistRef `xml:"albumArtists" json:"albumArtists"`
AlbumDisplayArtist string `xml:"diplayAlbumArtist,attr" json:"displayAlbumArtist"`
Bitrate int `xml:"bitRate,attr,omitempty" json:"bitRate,omitempty"`
ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"`

View File

@@ -11,6 +11,8 @@
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
@@ -24,6 +26,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -37,6 +41,8 @@
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
@@ -50,6 +56,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -63,6 +71,8 @@
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
@@ -76,6 +86,8 @@
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -89,6 +101,8 @@
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -102,6 +116,8 @@
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
@@ -115,6 +131,8 @@
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",

View File

@@ -11,6 +11,8 @@
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
@@ -24,6 +26,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -37,6 +41,8 @@
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -50,6 +56,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -63,6 +71,8 @@
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
@@ -76,6 +86,8 @@
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
@@ -89,6 +101,8 @@
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
@@ -102,6 +116,8 @@
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -115,6 +131,8 @@
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",

View File

@@ -11,6 +11,8 @@
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
@@ -24,6 +26,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -37,6 +41,8 @@
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
@@ -50,6 +56,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -63,6 +71,8 @@
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
@@ -76,6 +86,8 @@
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -89,6 +101,8 @@
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -102,6 +116,8 @@
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
@@ -115,6 +131,8 @@
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",

View File

@@ -11,6 +11,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -20,10 +22,72 @@
"songCount": 3,
"duration": 300
},
{
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
"isDir": true,
"coverArt": "al-3",
"name": "album-0",
"songCount": 3,
"duration": 300
},
{
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
"isDir": true,
"coverArt": "al-12",
"name": "album-1",
"songCount": 3,
"duration": 300
},
{
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
"isDir": true,
"coverArt": "al-5",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
"isDir": true,
"coverArt": "al-13",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -37,6 +101,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -46,23 +112,12 @@
"songCount": 3,
"duration": 300
},
{
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
"isDir": true,
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300
},
{
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -73,53 +128,16 @@
"duration": 300
},
{
"id": "al-13",
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
"isDir": true,
"coverArt": "al-13",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
"isDir": true,
"coverArt": "al-3",
"name": "album-0",
"songCount": 3,
"duration": 300
},
{
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
"isDir": true,
"coverArt": "al-5",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
"parent": "al-6",
"isDir": true,
"coverArt": "al-12",
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300

View File

@@ -8,15 +8,60 @@
"albumList2": {
"album": [
{
"id": "al-5",
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "artist-0",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-1",
"album": "album-1",
"coverArt": "al-12",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-0",
"album": "album-0",
"coverArt": "al-11",
"name": "album-0",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-2",
"album": "album-2",
"coverArt": "al-5",
"coverArt": "al-13",
"name": "album-2",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"title": "album-2",
"album": "album-2",
"coverArt": "al-9",
"name": "album-2",
"songCount": 3,
"duration": 300,
@@ -53,65 +98,20 @@
"year": 2021
},
{
"id": "al-12",
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-1",
"album": "album-1",
"coverArt": "al-12",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"artistId": "ar-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "artist-0",
"title": "album-2",
"album": "album-2",
"coverArt": "al-9",
"coverArt": "al-5",
"name": "album-2",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"title": "album-1",
"album": "album-1",
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-0",
"album": "album-0",
"coverArt": "al-11",
"name": "album-0",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
@@ -128,16 +128,16 @@
"year": 2021
},
{
"id": "al-13",
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-2",
"album": "album-2",
"coverArt": "al-13",
"name": "album-2",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"title": "album-1",
"album": "album-1",
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021

View File

@@ -8,6 +8,9 @@
"album": {
"id": "al-2",
"created": "2019-11-30T00:00:00Z",
"artist": "",
"artists": null,
"displayArtist": "",
"title": "",
"album": "",
"name": "",

View File

@@ -15,6 +15,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -36,6 +39,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -57,6 +63,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",

View File

@@ -12,6 +12,11 @@
"child": [
{
"id": "al-3",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -21,6 +26,11 @@
},
{
"id": "al-4",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -30,6 +40,11 @@
},
{
"id": "al-5",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"isDir": true,

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,

View File

@@ -12,6 +12,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -33,6 +36,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -54,6 +60,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -75,6 +84,9 @@
"album": "album-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-4",
@@ -96,6 +108,9 @@
"album": "album-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-4",
@@ -117,6 +132,9 @@
"album": "album-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-4",
@@ -138,6 +156,9 @@
"album": "album-2",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-5",
@@ -159,6 +180,9 @@
"album": "album-2",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-5",
@@ -180,6 +204,9 @@
"album": "album-2",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-5",
@@ -201,6 +228,9 @@
"album": "album-0",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-7",
@@ -222,6 +252,9 @@
"album": "album-0",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-7",
@@ -243,6 +276,9 @@
"album": "album-0",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-7",
@@ -264,6 +300,9 @@
"album": "album-1",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-8",
@@ -285,6 +324,9 @@
"album": "album-1",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-8",
@@ -306,6 +348,9 @@
"album": "album-1",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-8",
@@ -327,6 +372,9 @@
"album": "album-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-9",
@@ -348,6 +396,9 @@
"album": "album-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-9",
@@ -369,6 +420,9 @@
"album": "album-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-9",
@@ -390,6 +444,9 @@
"album": "album-0",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-11",
@@ -411,6 +468,9 @@
"album": "album-0",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-11",