From 5611b2c038ed2b7b0b3417a95e126bbd7e69ac86 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Wed, 15 Apr 2020 23:23:56 +0200 Subject: [PATCH] Merge pull request #2745 from Artiume/patch-6 Force Audio Transcoding for LiveTV Transcoding (cherry picked from commit 31769bda2886ca85310681c19efc9c8c3007cedf) Signed-off-by: Joshua M. Boniface --- MediaBrowser.Api/Playback/MediaInfoService.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs index a44e1720fe..18320e0071 100644 --- a/MediaBrowser.Api/Playback/MediaInfoService.cs +++ b/MediaBrowser.Api/Playback/MediaInfoService.cs @@ -521,10 +521,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;