mirror of https://github.com/jellyfin/jellyfin.git
Remove duplicate code
This commit is contained in:
parent
a7eee4f4e5
commit
d2dd847b60
|
@ -282,55 +282,55 @@ namespace Jellyfin.Api.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
return await audioController.GetAudioStream(
|
return await audioController.GetAudioStream(
|
||||||
itemId,
|
itemId,
|
||||||
isStatic ? null : ("." + mediaSource.TranscodingContainer),
|
isStatic ? null : ("." + mediaSource.TranscodingContainer),
|
||||||
isStatic,
|
isStatic,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
playbackInfoResult.Value.PlaySessionId,
|
playbackInfoResult.Value.PlaySessionId,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
mediaSource.Id,
|
mediaSource.Id,
|
||||||
deviceId,
|
deviceId,
|
||||||
audioCodec,
|
audioCodec,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
breakOnNonKeyFrames,
|
breakOnNonKeyFrames,
|
||||||
maxAudioSampleRate,
|
maxAudioSampleRate,
|
||||||
maxAudioBitDepth,
|
maxAudioBitDepth,
|
||||||
isStatic ? (int?)null : Convert.ToInt32(Math.Min(maxStreamingBitrate ?? 192000, int.MaxValue)),
|
isStatic ? (int?)null : Convert.ToInt32(Math.Min(maxStreamingBitrate ?? 192000, int.MaxValue)),
|
||||||
null,
|
null,
|
||||||
maxAudioChannels,
|
maxAudioChannels,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
startTimeTicks,
|
startTimeTicks,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
SubtitleDeliveryMethod.Embed,
|
SubtitleDeliveryMethod.Embed,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
mediaSource.TranscodeReasons == null ? null : string.Join(",", mediaSource.TranscodeReasons.Select(i => i.ToString()).ToArray()),
|
mediaSource.TranscodeReasons == null ? null : string.Join(",", mediaSource.TranscodeReasons.Select(i => i.ToString()).ToArray()),
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null)
|
null)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue