Merge pull request #11496 from davidfdezalcoba/davidfdezalcoba/workaround-tuner-head-method-501

Add Not Implemented response check to m3u tuner HEAD request
pull/11516/head
Niels van Velzen 11 months ago committed by GitHub
commit b25c6acb6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save