diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs index 1db265d..88f0200 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs @@ -107,8 +107,14 @@ public class Entrypoint : IServerEntryPoint var query = new InternalItemsQuery() { + // Order by series name, season, and then episode number so that status updates are logged in order ParentId = Guid.Parse(rawId), - OrderBy = new[] { ("IndexNumber", SortOrder.Ascending) }, + OrderBy = new[] + { + ("SeriesSortName", SortOrder.Ascending), + ("ParentIndexNumber", SortOrder.Ascending), + ("IndexNumber", SortOrder.Ascending), + }, IncludeItemTypes = new BaseItemKind[] { BaseItemKind.Episode }, Recursive = true, }; diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs index 0ba49ef..7647fda 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs @@ -173,7 +173,7 @@ public class FingerprinterTask : IScheduledTask return; } - _logger.LogDebug( + _logger.LogInformation( "Analyzing {Count} episodes from {Name} season {Season}", season.Value.Count, first.SeriesName,