Added support for comment tag, fixes #510

This commit is contained in:
emeric
2024-08-20 19:03:28 +02:00
parent ce8d75d71d
commit cd0e88d28d
12 changed files with 83 additions and 25 deletions
@@ -153,6 +153,7 @@ namespace lms::api::subsonic
if (!context.enableOpenSubsonic)
return trackResponse;
trackResponse.setAttribute("comment", track->getComment());
trackResponse.setAttribute("bitDepth", track->getBitsPerSample());
trackResponse.setAttribute("samplingRate", track->getSampleRate());
trackResponse.setAttribute("channelCount", track->getChannelCount());