fix other video search results when nfo metadata is used (#970)
* add debug no sync build config * fix other video search results * update dependencies
This commit is contained in:
@@ -93,10 +93,12 @@ public class SchedulerService : BackgroundService
|
||||
{
|
||||
await DeleteOrphanedArtwork(cancellationToken);
|
||||
await BuildPlayouts(cancellationToken);
|
||||
#if !DEBUG_NO_SYNC
|
||||
await ScanLocalMediaSources(cancellationToken);
|
||||
await ScanPlexMediaSources(cancellationToken);
|
||||
await ScanJellyfinMediaSources(cancellationToken);
|
||||
await ScanEmbyMediaSources(cancellationToken);
|
||||
#endif
|
||||
await MatchTraktLists(cancellationToken);
|
||||
}
|
||||
catch (Exception ex) when (ex is TaskCanceledException or OperationCanceledException)
|
||||
|
||||
@@ -60,6 +60,7 @@ public class WorkerService : BackgroundService
|
||||
error.Value));
|
||||
break;
|
||||
case IScanLocalLibrary scanLocalLibrary:
|
||||
#if !DEBUG_NO_SYNC
|
||||
Either<BaseError, string> scanResult = await mediator.Send(
|
||||
scanLocalLibrary,
|
||||
cancellationToken);
|
||||
@@ -71,6 +72,7 @@ public class WorkerService : BackgroundService
|
||||
"Unable to scan local library {LibraryId}: {Error}",
|
||||
scanLocalLibrary.LibraryId,
|
||||
error.Value));
|
||||
#endif
|
||||
break;
|
||||
case RebuildSearchIndex rebuildSearchIndex:
|
||||
await mediator.Send(rebuildSearchIndex, cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user