From 37ff5f7be458e9f53bedfd30fd965c1d039f1c8f Mon Sep 17 00:00:00 2001 From: nexus671 Date: Sun, 19 Nov 2023 13:41:40 -0500 Subject: [PATCH] Update PlexRssImportParser.cs fix support for TMDB ID plex RSS import --- .../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..dd3f912b3 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 or TVDB ID or TMDB ID"); } return info;