From c0e1e2c4a1b1c068a1fe04bfc300a10dea927000 Mon Sep 17 00:00:00 2001 From: Dreu LaVelle Date: Thu, 5 Sep 2024 14:32:02 -0500 Subject: [PATCH] fix: movie obj trying to index as show type --- src/program/indexers/trakt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program/indexers/trakt.py b/src/program/indexers/trakt.py index 2673b38c..17c43c56 100644 --- a/src/program/indexers/trakt.py +++ b/src/program/indexers/trakt.py @@ -35,7 +35,7 @@ def copy_items(self, itema: MediaItem, itemb: MediaItem): is_anime = itema.is_anime or itemb.is_anime if itema.type == "mediaitem" and itemb.type == "show": itema.seasons = itemb.seasons - if itemb.type == "show": + if itemb.type == "show" and itema.type != "movie": for seasona in itema.seasons: for seasonb in itemb.seasons: if seasona.number == seasonb.number: # Check if seasons match