mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Merge branch 'special-episode-search' of https://github.com/iaddis/NzbDrone into special-episode-search
Conflicts: src/NzbDrone.Core/Indexers/Omgwtfnzbs/Omgwtfnzbs.cs
This commit is contained in:
@@ -34,6 +34,17 @@ namespace NzbDrone.Core.Parser.Model
|
||||
return AbsoluteEpisodeNumbers.Any();
|
||||
}
|
||||
|
||||
public bool IsPossibleSpecialEpisode()
|
||||
{
|
||||
// if we dont have eny episode numbers we are likely a special episode and need to do a search by episode title
|
||||
return string.IsNullOrEmpty(AirDate) &&
|
||||
(
|
||||
EpisodeNumbers.Length == 0 ||
|
||||
SeasonNumber == 0 ||
|
||||
String.IsNullOrWhiteSpace(SeriesTitle)
|
||||
);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
string episodeString = "[Unknown Episode]";
|
||||
|
||||
Reference in New Issue
Block a user