Skip to content

Commit

Permalink
Remove N/A for imdb_id
Browse files Browse the repository at this point in the history
Cleans things up a little
  • Loading branch information
ghomasHudson authored Dec 1, 2024
1 parent ba25485 commit 33d25c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/jellyfin.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def add_item_to_collection(self, collection_id: str, item, year_filter: bool = T
match = res.json()["Items"][0]

if match is None:
logger.warning(f"Item {item['title']} ({item.get('release_year','N/A')}) {item.get('imdb_id','N/A')} not found in jellyfin")
logger.warning(f"Item {item['title']} ({item.get('release_year','N/A')}) {item.get('imdb_id','')} not found in jellyfin")
else:
try:
item_id = res.json()["Items"][0]["Id"]
Expand Down

0 comments on commit 33d25c3

Please sign in to comment.