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:
Jason Dove
2022-09-25 22:27:34 -05:00
committed by GitHub
parent 27b923b462
commit 9b185e19e9
7 changed files with 34 additions and 5 deletions
+2
View File
@@ -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)
+2
View File
@@ -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);