mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
GetEpisodesByParseResult will log a warning when an episode is daily, but series isn't.
This commit is contained in:
parent
55b9dc2a9b
commit
77bf257132
2 changed files with 31 additions and 0 deletions
|
@ -127,6 +127,13 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
if (parseResult.AirDate.HasValue)
|
||||
{
|
||||
if (!parseResult.Series.IsDaily)
|
||||
{
|
||||
//Todo: Collect this as a Series we want to treat as a daily series, or possible parsing error
|
||||
Logger.Warn("Found daily-style episode for non-daily series: {0}", parseResult.Series.Title);
|
||||
return new List<Episode>();
|
||||
}
|
||||
|
||||
var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.AirDate.Value);
|
||||
|
||||
if (episodeInfo == null && autoAddNew)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue