Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/acb86066fffa14e95d6d5ed52a50409bc1b326a5
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
16 additions and
10 deletions
@ -47,18 +47,11 @@ namespace Emby.Server.Implementations.Library.Validators
/// <returns>Task.</returns>
public async Task Run ( IProgress < double > progress , CancellationToken cancellationToken )
{
var boxSets = _libraryManager . GetItemList ( new InternalItemsQuery
{
IncludeItemTypes = new [ ] { nameof ( BoxSet ) } ,
CollapseBoxSetItems = false ,
Recursive = true
} ) ;
var collectionNameMoviesMap = new Dictionary < string , HashSet < Guid > > ( ) ;
foreach ( var library in _libraryManager . RootFolder . Children )
{
if ( ! _libraryManager . GetLibraryOptions ( library ) . Auto Collection)
if ( ! _libraryManager . GetLibraryOptions ( library ) . AutomaticallyAddToCollection )
{
continue ;
}
@ -107,6 +100,19 @@ namespace Emby.Server.Implementations.Library.Validators
var numComplete = 0 ;
var count = collectionNameMoviesMap . Count ;
if ( count = = 0 )
{
progress . Report ( 100 ) ;
return ;
}
var boxSets = _libraryManager . GetItemList ( new InternalItemsQuery
{
IncludeItemTypes = new [ ] { nameof ( BoxSet ) } ,
CollapseBoxSetItems = false ,
Recursive = true
} ) ;
foreach ( var ( collectionName , movieIds ) in collectionNameMoviesMap )
{
try
@ -16,7 +16,7 @@ namespace MediaBrowser.Model.Configuration
SkipSubtitlesIfAudioTrackMatches = true ;
RequirePerfectSubtitleMatch = true ;
Auto Collection = true ;
Auto maticallyAddTo Collection = true ;
EnablePhotos = true ;
SaveSubtitlesWithMedia = true ;
EnableRealtimeMonitor = true ;
@ -81,7 +81,7 @@ namespace MediaBrowser.Model.Configuration
public bool RequirePerfectSubtitleMatch { get ; set ; }
public bool SaveSubtitlesWithMedia { get ; set ; }
public bool Auto Collection { get ; set ; }
public bool Auto maticallyAddTo Collection { get ; set ; }
public TypeOptions [ ] TypeOptions { get ; set ; }