소스 검색

Update MediaInfoService.cs

artiume 5 년 전
부모
커밋
a4e0364139
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      MediaBrowser.Api/Playback/MediaInfoService.cs

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

@@ -513,8 +513,8 @@ namespace MediaBrowser.Api.Playback
                     ? streamBuilder.BuildAudioItem(options)
                     ? streamBuilder.BuildAudioItem(options)
                     : streamBuilder.BuildVideoItem(options);
                     : streamBuilder.BuildVideoItem(options);
 
 
-				if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
-				{
+                if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
+                {
                     if (streamInfo != null)
                     if (streamInfo != null)
                     {
                     {
                         streamInfo.PlaySessionId = playSessionId;    
                         streamInfo.PlaySessionId = playSessionId;    
@@ -531,9 +531,9 @@ namespace MediaBrowser.Api.Playback
                         // Do this after the above so that StartPositionTicks is set
                         // Do this after the above so that StartPositionTicks is set
                         SetDeviceSpecificSubtitleInfo(streamInfo, mediaSource, auth.Token);
                         SetDeviceSpecificSubtitleInfo(streamInfo, mediaSource, auth.Token);
                     }				
                     }				
-				}
+                }
                 else
                 else
-				{
+                {
                     if (streamInfo != null)
                     if (streamInfo != null)
                     {
                     {
                         streamInfo.PlaySessionId = playSessionId;
                         streamInfo.PlaySessionId = playSessionId;