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