From 4f57c088a1ecdd11d0cf4d8d8d15b10e4b20a4e6 Mon Sep 17 00:00:00 2001 From: nexus671 Date: Sun, 19 Nov 2023 14:27:31 -0500 Subject: [PATCH] Fixed: Plex RSS TMDb ID Lookup --- .../ImportLists/Rss/Plex/PlexRssImportParser.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/ImportLists/Rss/Plex/PlexRssImportParser.cs b/src/NzbDrone.Core/ImportLists/Rss/Plex/PlexRssImportParser.cs index c1b7307fe..2dda602cb 100644 --- a/src/NzbDrone.Core/ImportLists/Rss/Plex/PlexRssImportParser.cs +++ b/src/NzbDrone.Core/ImportLists/Rss/Plex/PlexRssImportParser.cs @@ -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;