The Free Software Media System - Server Backend & API
Force Audio Transcoding for LiveTV Transcoding
artiumed10ae74b3827
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.csindex d74ec3ca63..040022a3d5 100644--- a/MediaBrowser.Api/Playback/MediaInfoService.cs+++ b/MediaBrowser.Api/Playback/MediaInfoService.cs@@ -520,10 +520,7 @@ namespace MediaBrowser.Api.PlaybackstreamInfo.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;