Fixed: Plex RSS TMDb ID Lookup

pull/6191/head
nexus671 7 months ago committed by GitHub
parent 81f3c4bd55
commit 4f57c088a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,13 +47,13 @@ namespace NzbDrone.Core.ImportLists.Rss.Plex
if (int.TryParse(guid.Replace("tmdb://", ""), out var tmdbId))
{
info.TmdbId = tvdbId;
info.TmdbId = tmdbId;
}
}
if (info.ImdbId.IsNullOrWhiteSpace() && info.TvdbId == 0)
if (info.ImdbId.IsNullOrWhiteSpace() && info.TvdbId == 0 && info.TmdbId == 0)
{
throw new UnsupportedFeedException("Each item in the RSS feed must have a guid element with a IMDB ID or TVDB ID");
throw new UnsupportedFeedException("Each item in the RSS feed must have a guid element with a IMDB ID, TVDB ID or TMDB ID");
}
return info;

Loading…
Cancel
Save