1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-28 00:45:50 +00:00

Fixed: Search results without TV Rage IDs won't match a series without a TV Rage ID

This commit is contained in:
Mark McDowall 2014-12-31 10:22:53 -08:00
parent d5da0ec4dd
commit 7e76a36d68

View file

@ -340,7 +340,7 @@ private Series GetSeries(ParsedEpisodeInfo parsedEpisodeInfo, int tvRageId, Sear
return searchCriteria.Series;
}
if (tvRageId == searchCriteria.Series.TvRageId)
if (tvRageId > 0 && tvRageId == searchCriteria.Series.TvRageId)
{
//TODO: If series is found by TvRageId, we should report it as a scene naming exception, since it will fail to import
return searchCriteria.Series;