Fix #691: update jellyfin client lib for transcoding fix

This commit is contained in:
Drew Weymouth
2025-09-06 11:18:04 -07:00
parent a9299aeb84
commit bacdaeccfb
3 changed files with 6 additions and 3 deletions
@@ -357,6 +357,9 @@ func (j *jellyfinMediaProvider) GetStreamURL(trackID string, transcode *mediapro
var jfTranscode *jellyfin.TranscodeOptions
if transcode != nil {
jfTranscode = &jellyfin.TranscodeOptions{
// we only support opus and mp3 transcoding codecs right now,
// both are accepted as a container format too
Container: transcode.Codec,
AudioCodec: transcode.Codec,
AudioBitRate: uint32(transcode.BitRateKBPS * 1000),
}