Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/52e3d875c22ed8229584cf3d53c3df53c2b4d9f5
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
3 deletions
@ -325,10 +325,11 @@ namespace MediaBrowser.Api.Playback
private int? GetMaxBitrate ( int? clientMaxBitrate )
{
var maxBitrate = clientMaxBitrate ;
var remoteClientMaxBitrate = _config . Configuration . RemoteClientBitrateLimit ;
if ( _config. Configu ration. R emoteClientBitrateLimit > 0 & & ! _networkManager . IsInLocalNetwork ( Request . RemoteIp ) )
if ( remoteClientMax Bitrate > 0 & & ! _networkManager . IsInLocalNetwork ( Request . RemoteIp ) )
{
maxBitrate = Math . Min ( maxBitrate ? ? _config. Configu ration. R emoteClientBitrateLimit , _config. Configu ration. R emoteClientBitrateLimit ) ;
maxBitrate = Math . Min ( maxBitrate ? ? remoteClientMax Bitrate, remoteClientMax Bitrate) ;
}
return maxBitrate ;
@ -1,4 +1,5 @@
using MediaBrowser.Controller.Dto ;
using MediaBrowser.Common.Extensions ;
using MediaBrowser.Controller.Dto ;
using MediaBrowser.Controller.Library ;
using MediaBrowser.Controller.Net ;
using MediaBrowser.Controller.Sync ;
@ -230,6 +231,11 @@ namespace MediaBrowser.Api.Sync
{
var jobItem = _syncManager . GetJobItem ( request . Id ) ;
if ( jobItem = = null )
{
throw new ResourceNotFoundException ( ) ;
}
if ( jobItem . Status < SyncJobItemStatus . ReadyToTransfer )
{
throw new ArgumentException ( "The job item is not yet ready for transfer." ) ;