Skip to content

Commit

Permalink
Added iconImage and thumbnailImage into playable list item (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
quarckster authored Nov 12, 2020
1 parent d2ba733 commit dd3fb84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/resources/lib/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ def playable_list_item(self):
getattr(self, "li_title", self.title),
path=self.media_url,
properties=properties,
iconImage=self.item.get("posters", {}).get("small", ""),
thumbnailImage=self.item.get("posters", {}).get("small", ""),
poster=self.item.get("posters", {}).get("big"),
subtitles=[subtitle["url"] for subtitle in self.video_data["subtitles"]],
)
Expand Down

0 comments on commit dd3fb84

Please sign in to comment.