Add samplingRate to OpenSubsonic responses
This commit is contained in:
@@ -143,6 +143,7 @@ var _ = Describe("Responses", func() {
|
||||
Suffix: "flac", TranscodedContentType: "audio/mpeg", TranscodedSuffix: "mp3",
|
||||
Duration: 146, BitRate: 320, Starred: &t, Genres: []ItemGenre{{Name: "rock"}, {Name: "progressive"}},
|
||||
Comment: "a comment", Bpm: 127, MediaType: MediaTypeSong, MusicBrainzId: "4321", ChannelCount: 2,
|
||||
SamplingRate: 44100, SortName: "sorted title",
|
||||
ReplayGain: ReplayGain{TrackGain: 1, AlbumGain: 2, TrackPeak: 3, AlbumPeak: 4, BaseGain: 5, FallbackGain: 6},
|
||||
}
|
||||
response.Directory.Child = child
|
||||
|
||||
Reference in New Issue
Block a user