Skip to content

Commit

Permalink
Fixed: RTV NH artwork (See #1782).
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Apr 6, 2024
1 parent 75f9a80 commit d0ab6b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion channels/channel.regionalnl/at5/chn_at5.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"channelcode": "rtvnh",
"sortorder": 100,
"language": "nl",
"fanart": "rtvnhfanart.jpg"
"fanart": "rtvnhfanart.jpg",
"poster": "rtvnhposter.jpg"
},
{
"guid": "870EAD32-F2F9-11DD-B0E7-747356D89593",
Expand Down
3 changes: 2 additions & 1 deletion channels/channel.regionalnl/at5/chn_at5.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,19 @@ def __init__(self, channel_info):
chn_class.Channel.__init__(self, channel_info)

# ============== Actual channel setup STARTS here and should be overwritten from derived classes ===============
self.noImage = "at5image.png"
self.apiFormat = None

# setup the urls
if self.channelCode == "rtvnh":
self.mainListUri = "https://www.nhnieuws.nl/media"
self.apiFormat = "https://ditisdesupercooleappapi.nhnieuws.nl/api/news?source=web&slug=themas&page={}"
self.baseUrl = "https://ditisdesupercooleappapi.nhnieuws.nl"
self.noImage = "rtvnhimage.png"
else:
self.mainListUri = "http://www.at5.nl/gemist/tv"
self.apiFormat = "https://ditisdesupercooleappapi.at5.nl/api/news?source=web&slug=tv&page={}"
self.baseUrl = "https://ditisdesupercooleappapi.at5.nl"
self.noImage = "at5image.png"

self.mainListUri = "#json_episodes"

Expand Down
Binary file added channels/channel.regionalnl/at5/rtvnhposter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d0ab6b1

Please sign in to comment.