소스 검색

update channel streams

Luke Pulverenti 9 년 전
부모
커밋
a4e73120a7
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs
  2. 5 0
      MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs

@@ -586,7 +586,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
 
             process.StandardError.BaseStream.CopyToAsync(logFileStream);
 
-            var ranToCompletion = process.WaitForExit(60000);
+            var ranToCompletion = process.WaitForExit(120000);
 
             if (!ranToCompletion)
             {

+ 5 - 0
MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs

@@ -364,6 +364,11 @@ namespace MediaBrowser.Server.Implementations.LiveTv
         {
             await _liveStreamSemaphore.WaitAsync(cancellationToken).ConfigureAwait(false);
 
+            if (string.Equals(id, mediaSourceId, StringComparison.OrdinalIgnoreCase))
+            {
+                mediaSourceId = null;
+            }
+
             try
             {
                 MediaSourceInfo info;