Skip to content

Commit

Permalink
fix: listrr outputting imdbids instead of items. solves #802
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Oct 19, 2024
1 parent 7aa48ed commit 502e52b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/program/content/listrr.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def run(self) -> Generator[MediaItem, None, None]:
logger.error(f"Failed to fetch items from Listrr: {e}")
return

listrr_items = movie_items + show_items
imdb_ids = movie_items + show_items
listrr_items = [MediaItem({"imdb_id": imdb_id, "requested_by": self.key}) for imdb_id in imdb_ids if imdb_id.startswith("tt")]
logger.info(f"Fetched {len(listrr_items)} items from Listrr")
yield listrr_items

Expand Down

0 comments on commit 502e52b

Please sign in to comment.