aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-04-15 23:23:56 +0200
committerGitHub <noreply@github.com>2020-04-15 23:23:56 +0200
commit31769bda2886ca85310681c19efc9c8c3007cedf (patch)
treecfe38c02a08742a4bf024eab699cb28b156488aa
parentbcf53b3226c8e12fb0669ef3e99ec8842a523d2e (diff)
parentd10ae74b3827ff8dd8cff4cfa3c0330cf7c7ad3b (diff)
Merge pull request #2745 from Artiume/patch-6
Force Audio Transcoding for LiveTV Transcoding
-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 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;