|
|
|
@ -45,6 +45,9 @@ namespace NzbDrone.Core.NetImport.CouchPotato
|
|
|
|
|
{
|
|
|
|
|
int tmdbid = item.info.tmdb_id ?? 0;
|
|
|
|
|
|
|
|
|
|
// Fix weird error reported by Madmanali93
|
|
|
|
|
if (item.type != null && item.releases != null)
|
|
|
|
|
{
|
|
|
|
|
// if there are no releases at all the movie wasn't found on CP, so return movies
|
|
|
|
|
if (!item.releases.Any() && item.type == "movie")
|
|
|
|
|
{
|
|
|
|
@ -72,6 +75,7 @@ namespace NzbDrone.Core.NetImport.CouchPotato
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return movies;
|
|
|
|
|
}
|
|
|
|
|