You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made the refresh dispatching logic in the event dispatcher service more through, by distincting the input lists we get from the core, and also tracking which entities has been updated and their parents, and only firing the event if the entity or it's parents haven't been updated since the last usage stalled event or if the clear plugin cache task is ran.
Logger.LogTrace("Season is already being updated. (Check=3,Show={ShowId},Season={SeasonId},Series={SeriesId})",showId,season.Id,seasonInfo.Id);
688
+
continue;
689
+
}
690
+
648
691
Logger.LogInformation("Refreshing season {SeasonName}. (Season={SeasonId},Series={SeriesId},ExtraSeries={ExtraIds})",season.Name,season.Id,seasonInfo.Id,seasonInfo.ExtraIds);
Logger.LogTrace("Show is already being updated. (Check=1,Show={ShowId},Season={SeasonId},Episode={EpisodeId},Episode={EpisodeId},Series={SeriesId})",showId,seasonId,episode.Id,episodeInfo.Id,episodeInfo.SeriesId);
Logger.LogTrace("Season is already being updated. (Check=2,Show={ShowId},Season={SeasonId},Episode={EpisodeId},Episode={EpisodeId},Series={SeriesId})",showId,seasonId,episode.Id,episodeInfo.Id,episodeInfo.SeriesId);
Logger.LogTrace("Episode is already being updated. (Check=3,Show={ShowId},Season={SeasonId},Episode={EpisodeId},Episode={EpisodeId},Series={SeriesId})",showId,seasonId,episode.Id,episodeInfo.Id,episodeInfo.SeriesId);
Logger.LogTrace("Episode is already being updated. (Check=4,Show={ShowId},Season={SeasonId},Episode={EpisodeId},Episode={EpisodeId},Series={SeriesId})",showId,seasonId,episode.Id,episodeInfo.Id,episodeInfo.SeriesId);
Logger.LogTrace("Movie is already being updated. (Check=1,Movie={MovieId},Episode={EpisodeId},Series={SeriesId},ExtraSeries={ExtraIds})",movie.Id,episodeInfo.Id,seasonInfo.Id,seasonInfo.ExtraIds);
Logger.LogTrace("Movie is already being updated. (Check=2,Movie={MovieId},Episode={EpisodeId},Series={SeriesId},ExtraSeries={ExtraIds})",movie.Id,episodeInfo.Id,seasonInfo.Id,seasonInfo.ExtraIds);
792
+
continue;
793
+
}
794
+
722
795
Logger.LogInformation("Refreshing movie {MovieName}. (Movie={MovieId},Episode={EpisodeId},Series={SeriesId},ExtraSeries={ExtraIds})",movie.Name,movie.Id,episodeInfo.Id,seasonInfo.Id,seasonInfo.ExtraIds);
0 commit comments