[10] ignore mdblist items that have no TMDb ID

pull/2045/head
meisnate12 8 months ago
parent 8b668f0c81
commit ca8d960bab

@ -1 +1 @@
2.0.1-develop9
2.0.1-develop10

@ -220,7 +220,7 @@ class MDBList:
raise Failed(f"MDBList Error: Invalid Response {response}")
results = []
for item in response:
if item["mediatype"] in ["movie", "show"]:
if item["mediatype"] in ["movie", "show"] and item["id"]:
results.append((item["id"], "tmdb" if item["mediatype"] == "movie" else "tmdb_show"))
return results
except JSONDecodeError:

Loading…
Cancel
Save