浏览代码

Add Not Implemented to m3u tuner

David Fernandez Alcoba 1 年之前
父节点
当前提交
bfa498799b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs

+ 1 - 1
src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs

@@ -123,7 +123,7 @@ namespace Jellyfin.LiveTv.TunerHosts
                         return new SharedHttpStream(mediaSource, tunerHost, streamId, FileSystem, _httpClientFactory, Logger, Config, _appHost, _streamHelper);
                     }
                 }
-                else if (response.StatusCode == HttpStatusCode.MethodNotAllowed)
+                else if (response.StatusCode == HttpStatusCode.MethodNotAllowed || response.StatusCode == HttpStatusCode.NotImplemented)
                 {
                     // Fallback to check path extension when the server does not support HEAD method
                     // Use UriBuilder to remove all query string as GetExtension will include them when used directly