We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677ed62 commit 692ad4fCopy full SHA for 692ad4f
plugins/trakt.py
@@ -173,14 +173,21 @@ def get_list(list_id, config=None):
173
else:
174
item = {"media_type": item_types}
175
176
+ if item["media_type"] == "season":
177
+ # Ignore seasons
178
+ continue
179
+
180
if "ids" in item_data:
181
meta = item_data
182
183
meta = item_data[item["media_type"]]
184
185
if "imdb" in meta["ids"]:
186
item["imdb_id"] = meta["ids"]["imdb"]
- item["title"] = meta["title"]
187
+ try:
188
+ item["title"] = meta["title"]
189
+ except:
190
+ breakpoint()
191
if "year" in meta:
192
item["release_year"] = meta["year"]
193
items.append(item)
0 commit comments