diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-04-15 23:23:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-15 23:23:56 +0200 |
| commit | 31769bda2886ca85310681c19efc9c8c3007cedf (patch) | |
| tree | cfe38c02a08742a4bf024eab699cb28b156488aa | |
| parent | bcf53b3226c8e12fb0669ef3e99ec8842a523d2e (diff) | |
| parent | d10ae74b3827ff8dd8cff4cfa3c0330cf7c7ad3b (diff) | |
Merge pull request #2745 from Artiume/patch-6
Force Audio Transcoding for LiveTV Transcoding
| -rw-r--r-- | MediaBrowser.Api/Playback/MediaInfoService.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs index 3638feaa3..db24eaca6 100644 --- a/MediaBrowser.Api/Playback/MediaInfoService.cs +++ b/MediaBrowser.Api/Playback/MediaInfoService.cs @@ -520,10 +520,7 @@ namespace MediaBrowser.Api.Playback streamInfo.StartPositionTicks = startTimeTicks; mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-'); mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false"; - if (!allowAudioStreamCopy) - { - mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false"; - } + mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false"; mediaSource.TranscodingContainer = streamInfo.Container; mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol; |
