Add samplingRate to OpenSubsonic responses

This commit is contained in:
Deluan
2024-05-11 17:44:24 -04:00
committed by Deluan Quintão
parent f3bb022238
commit 3a2a5e961b
25 changed files with 40 additions and 25 deletions
+1
View File
@@ -184,6 +184,7 @@ func childFromMediaFile(ctx context.Context, mf model.MediaFile) responses.Child
AlbumPeak: mf.RgAlbumPeak,
}
child.ChannelCount = int32(mf.Channels)
child.SamplingRate = int32(mf.SampleRate)
return child
}