Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/ecbec1f6fd26da204fa80bea171790f599975880
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
2 deletions
@ -132,12 +132,14 @@ namespace MediaBrowser.Api.Playback.Hls
// It's considered live while still encoding (EVENT). Once the encoding has finished, it's video on demand (VOD).
var playlistType = fileText . IndexOf ( "#EXT-X-ENDLIST" , StringComparison . OrdinalIgnoreCase ) = = - 1 ? "EVENT" : "VOD" ;
const string allowCacheAttributeName = "#EXT-X-ALLOW-CACHE" ;
// fix this to make the media stream validator happy
// https://ffmpeg.org/trac/ffmpeg/ticket/2228
fileText = fileText . Replace ( "#EXT-X-ALLOWCACHE" , "#EXT-X-ALLOW-CACHE" ) ;
fileText = fileText . Replace ( "#EXT-X-ALLOWCACHE" , allowCacheAttributeName ) ;
// Add event type at the top
fileText = fileText . Replace ( "#EXT-X-ALLOW-CACHE" , "#EXT-X-PLAYLIST-TYPE:" + playlistType + Environment . NewLine + "#EXT-X-ALLOWCACHE" ) ;
fileText = fileText . Replace ( allowCacheAttributeName , "#EXT-X-PLAYLIST-TYPE:" + playlistType + Environment . NewLine + allowCacheAttributeName ) ;
return fileText ;
}