Subsonic API: handle new field mediaType
This commit is contained in:
@@ -157,6 +157,8 @@ namespace API::Subsonic
|
||||
}
|
||||
|
||||
// OpenSubsonic specific fields (must always be set)
|
||||
trackResponse.setAttribute("mediaType", "song");
|
||||
|
||||
{
|
||||
std::optional<UUID> mbid{ track->getRecordingMBID() };
|
||||
trackResponse.setAttribute("musicBrainzId", mbid ? mbid->getAsString() : "");
|
||||
|
||||
Reference in New Issue
Block a user