aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-04-15 23:23:56 +0200
committerJoshua M. Boniface <joshua@boniface.me>2020-04-26 14:51:03 -0400
commit5611b2c038ed2b7b0b3417a95e126bbd7e69ac86 (patch)
tree2ea3224ffd6db76cd26f2749a512fd21eb99c6c4
parent163fb94bdea8d271ea05845670dc2f9325147d13 (diff)
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 <joshua@boniface.me>
-rw-r--r--MediaBrowser.Api/Playback/MediaInfoService.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs
index a44e1720f..18320e007 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;