Subsonic API: added album artists for albums
This commit is contained in:
@@ -121,6 +121,10 @@ namespace API::Subsonic
|
|||||||
|
|
||||||
addClusters("genres", "GENRE");
|
addClusters("genres", "GENRE");
|
||||||
addClusters("moods", "MOOD");
|
addClusters("moods", "MOOD");
|
||||||
|
|
||||||
|
albumNode.createEmptyArrayChild("artists");
|
||||||
|
for (const Artist::pointer& artist : release->getReleaseArtists() )
|
||||||
|
albumNode.addArrayChild("artists", createArtistNode(artist));
|
||||||
|
|
||||||
return albumNode;
|
return albumNode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user