Fixed stale episode logic.
This commit is contained in:
@@ -125,11 +125,11 @@ public class LoggingHelper
|
||||
}
|
||||
}
|
||||
|
||||
public void PrintDebugSeasonNumber(int seasonNumber)
|
||||
public void PrintDebugSeasonInfo()
|
||||
{
|
||||
if (Configuration.DebugMode)
|
||||
{
|
||||
_logger.LogInformation("Season {SeasonNumber} debug information:", [seasonNumber]);
|
||||
_logger.LogInformation("Season debug information:");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,12 +149,12 @@ public class LoggingHelper
|
||||
}
|
||||
}
|
||||
|
||||
public void PrintDebugNoUserDataAndOutsideCutoffEpisodeInfo(IReadOnlyCollection<BaseItem> episodes, int seasonNumber)
|
||||
public void PrintDebugNoUserDataAndOutsideCutoffEpisodeInfo(IReadOnlyCollection<BaseItem> episodes)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(episodes);
|
||||
|
||||
if(Configuration.DebugMode){
|
||||
_logger.LogInformation("No user data, and creation date is outside of media cutoff, Season {SeasonNumber} is stale.", seasonNumber);
|
||||
_logger.LogInformation("No user data, and creation date is outside of media cutoff, Season is stale.");
|
||||
|
||||
_logger.LogInformation("-------------------------------------------------");
|
||||
_logger.LogInformation("Episode creation dates:");
|
||||
|
||||
Reference in New Issue
Block a user