Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/bd082e915733d72221ae5960d6dfde4ac784757d
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
11 additions and
5 deletions
@ -146,7 +146,7 @@ namespace MediaBrowser.Model.Configuration
/// different directories and files.
/// </summary>
/// <value>The file watcher delay.</value>
public int Realtime LibraryMonitorDelay { get ; set ; }
public int LibraryMonitorDelay { get ; set ; }
/// <summary>
/// Gets or sets a value indicating whether [enable dashboard response caching].
@ -238,7 +238,7 @@ namespace MediaBrowser.Model.Configuration
MinResumeDurationSeconds = 300 ;
EnableLibraryMonitor = AutoOnOff . Auto ;
RealtimeLibraryMonitorDelay = 4 0;
LibraryMonitorDelay = 6 0;
EnableInternetProviders = true ;
FindInternetTrailers = true ;
@ -471,11 +471,11 @@ namespace MediaBrowser.Server.Implementations.IO
{
if ( _updateTimer = = null )
{
_updateTimer = new Timer ( TimerStopped , null , TimeSpan . FromSeconds ( ConfigurationManager . Configuration . Realtime LibraryMonitorDelay) , TimeSpan . FromMilliseconds ( - 1 ) ) ;
_updateTimer = new Timer ( TimerStopped , null , TimeSpan . FromSeconds ( ConfigurationManager . Configuration . LibraryMonitorDelay) , TimeSpan . FromMilliseconds ( - 1 ) ) ;
}
else
{
_updateTimer . Change ( TimeSpan . FromSeconds ( ConfigurationManager . Configuration . Realtime LibraryMonitorDelay) , TimeSpan . FromMilliseconds ( - 1 ) ) ;
_updateTimer . Change ( TimeSpan . FromSeconds ( ConfigurationManager . Configuration . LibraryMonitorDelay) , TimeSpan . FromMilliseconds ( - 1 ) ) ;
}
}
}
@ -513,12 +513,18 @@ namespace MediaBrowser.Server.Implementations.IO
private bool IsFileLocked ( string path )
{
if ( Environment . OSVersion . Platform ! = PlatformID . Win32NT )
{
// Causing lockups on linux
return false ;
}
try
{
var data = _fileSystem . GetFileSystemInfo ( path ) ;
if ( ! data . Exists
| | data . Attributes . HasFlag ( FileAttributes . Directory )
| | data . IsDirectory
// Opening a writable stream will fail with readonly files
| | data . Attributes . HasFlag ( FileAttributes . ReadOnly ) )