When trying to open the listing on TV Guide, after selecting a day and a channel I get an error message and no listing is returned
To Reproduce
Steps to reproduce the behavior:
Go to TV Guide
Click on any date and select one of the channels
See error VRT MAX Error See the log for more information
Expected behavior
The listing of the programs on that channel and day
Additional context
Operating system: LibreELEC 10.0.4 on Raspberry Py 4 4gb
Kodi version: 19.5.0
Addon version: Vrt Max 2.5.29 + Matrix1
Using a VPN: no
Country you are using the addon from: Belgium
Log (if available)
2024-04-14 21:08:36.306 T:983 INFO <general>: Python interpreter stopped
2024-04-14 21:08:36.319 T:1019 INFO <general>: Skipped 8 duplicate messages..
2024-04-14 21:08:36.319 T:1019 ERROR <general>: GetDirectory - Error getting plugin://plugin.video.vrt.nu/tvguide/date/yesterday/canvas
2024-04-14 21:08:36.333 T:843 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vrt.nu/tvguide/date/yesterday/canvas) failed
2024-04-14 21:08:36.362 T:1021 INFO <general>: initializing python engine.
2024-04-14 21:08:36.751 T:1021 INFO <general>: CPythonInvoker(11, /storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/addon_entry.py): script successfully run
2024-04-14 21:08:42.626 T:1021 INFO <general>: initializing python engine.
2024-04-14 21:08:43.150 T:1021 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib.error.HTTPError'>
Error Contents: HTTP Error 400: Bad Request
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/addon_entry.py", line 14, in <module>
run(argv)
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/addon.py", line 353, in run
plugin.run(argv)
File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 130, in run
self._dispatch(self.path)
File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch
view_func(**kwargs)
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/addon.py", line 215, in tvguide
TVGuide().show_tvguide(date=date, channel=channel)
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/tvguide.py", line 51, in show_tvguide
episode_items = self.get_episode_items(date, channel)
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/tvguide.py", line 176, in get_episode_items
path = self.get_episode_path(episode, channel)
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/tvguide.py", line 255, in get_episode_path
video_id, publication_id = self.get_stream_ids(episode_id=episode.get('episodeId'))
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/tvguide.py", line 244, in get_stream_ids
episode = get_url_json(url=url, cache=None, headers=headers, data=data, raise_errors='all').get('data').get('catalogMember')
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/kodiutils.py", line 1216, in get_url_json
response = open_url(url, headers=headers, data=data, raise_errors=raise_errors)
File "/storage/.kodi/addons/plugin.video.vrt.nu/resources/lib/kodiutils.py", line 1147, in open_url
return opener.open(req)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 400: Bad Request
-->End of Python script error report<--
Describe the bug
When trying to open the listing on TV Guide, after selecting a day and a channel I get an error message and no listing is returned
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The listing of the programs on that channel and day
Additional context
Log (if available)