aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-06-25 20:54:05 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-06-25 20:54:05 +0200
commit5221584b06b3b5d9de0a93f757385abd85e7c876 (patch)
treec67f34dff3c844192d640b4e4a6e7ac8b6c4a1a3
parentc4ace4ac958b9bba8fe90b6c4e3215eb0137b6a2 (diff)
Only process items with tmdb id
-rw-r--r--MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbUpcomingEpisodesTask.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbUpcomingEpisodesTask.cs b/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbUpcomingEpisodesTask.cs
index 0fb7215f27..bb8c9bdcf2 100644
--- a/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbUpcomingEpisodesTask.cs
+++ b/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbUpcomingEpisodesTask.cs
@@ -188,12 +188,11 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
}
// Remove virtual seasons that are now empty (mirrors the cleanup an ordinary series refresh does).
- // Seasons created by this provider carry a TVDB id (from TMDb's external ids), not a TMDb id,
- // so they cannot be filtered by HasTmdbId; any virtual season left without episodes is obsolete.
var virtualSeasons = _libraryManager.GetItemList(new InternalItemsQuery
{
IncludeItemTypes = [BaseItemKind.Season],
IsVirtualItem = true,
+ HasTmdbId = true,
Recursive = true
});