Skip to content

Commit

Permalink
Fixed: ONS images.
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Nov 23, 2024
1 parent 3c0ff40 commit b048478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channels/channel.videos/ons/chn_ons.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def create_video_item(self, result_set: dict):
url = f"http://api.ibbroadcast.nl/clips.ashx?key={self.api_key}&mode=getclip&id={clip_id}&output=json"
item = MediaItem(name, url, media_type=mediatype.EPISODE)
item.description = result_set["description"]
item.set_artwork(thumb=result_set["screenshot"])
item.set_artwork(thumb=result_set.get("screenshot"))

# date: '01-02-2024 11:15:09'
changed = result_set.get("changedate")
Expand Down

0 comments on commit b048478

Please sign in to comment.