aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2024-05-08 19:05:23 +0200
committerGitHub <noreply@github.com>2024-05-08 19:05:23 +0200
commitb25c6acb6b31b95f5768b0976de799092a69c84f (patch)
tree492fca33e649c02ee729ac000fcd2425fe1e565a
parenta38c756a0e7d15143255fd55bd1b5c8a53d9c8a1 (diff)
parentbfa498799bf92b601e0b12a6e0bcd9cebf743477 (diff)
Merge pull request #11496 from davidfdezalcoba/davidfdezalcoba/workaround-tuner-head-method-501
Add Not Implemented response check to m3u tuner HEAD request
-rw-r--r--src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs b/src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs
index 3307626f4..b78b60c70 100644
--- a/src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs
+++ b/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