Forráskód Böngészése

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>
Bond-009 5 éve
szülő
commit
5611b2c038
1 módosított fájl, 1 hozzáadás és 4 törlés
  1. 1 4
      MediaBrowser.Api/Playback/MediaInfoService.cs

+ 1 - 4
MediaBrowser.Api/Playback/MediaInfoService.cs

@@ -521,10 +521,7 @@ namespace MediaBrowser.Api.Playback
                         streamInfo.StartPositionTicks = startTimeTicks;
                         streamInfo.StartPositionTicks = startTimeTicks;
                         mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');
                         mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');
                         mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false";
                         mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false";
-                        if (!allowAudioStreamCopy)
-                        {
-                            mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
-                        }
+                        mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
                         mediaSource.TranscodingContainer = streamInfo.Container;
                         mediaSource.TranscodingContainer = streamInfo.Container;
                         mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;
                         mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;