Subsonic API: added bitDepth, samplingRate and channelCount, see https://github.com/opensubsonic/open-subsonic-api/pull/83
This commit is contained in:
@@ -139,6 +139,10 @@ namespace lms::api::subsonic
|
||||
if (!context.enableOpenSubsonic)
|
||||
return trackResponse;
|
||||
|
||||
trackResponse.setAttribute("bitDepth", track->getBitsPerSample());
|
||||
trackResponse.setAttribute("samplingRate", track->getSampleRate());
|
||||
trackResponse.setAttribute("channelCount", track->getChannelCount());
|
||||
|
||||
trackResponse.setAttribute("mediaType", "song");
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user