Skip to content

Commit

Permalink
Added thumbnail images from small posters (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
quarckster authored Sep 10, 2020
1 parent 1e9fff3 commit 9e6b186
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/resources/lib/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ def list_item(self):
getattr(self, "li_title", self.title),
poster=self.item.get("posters", {}).get("big"),
fanart=self.item.get("posters", {}).get("wide"),
thumbnailImage=self.item.get("thumbnail", ""),
thumbnailImage=self.item.get(
"thumbnail", self.item.get("posters", {}).get("small", "")
),
properties={"id": self.item_id},
video_info=self.video_info,
addContextMenuItems=True,
Expand Down

0 comments on commit 9e6b186

Please sign in to comment.