24.6.2026, 8:30
1.22.0, nepodari sa stiahnut EPG
Kód:
error <general>: EXCEPTION Thrown (PythonToCppException) :
-->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'items'
Traceback (most recent call last):
File "/home/tomas/.kodi/addons/script.tvgo.playlist/service.py", line 36, in <module>
update()
~~~~~~^^
File "/home/tomas/.kodi/addons/script.tvgo.playlist/service.py", line 29, in update
start()
~~~~~^^
File "/home/tomas/.kodi/addons/script.tvgo.playlist/service.py", line 21, in start
tvgo.playlist(False, True)
~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/tomas/.kodi/addons/script.tvgo.playlist/resources/lib/tvgo.py", line 432, in playlist
epg(dlg, accesstoken2, channels2, ids, int(addon.getSetting("num_days")), int(addon.getSetting("num_days_back")))
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tomas/.kodi/addons/script.tvgo.playlist/resources/lib/tvgo.py", line 167, in epg
req = session.get("https://" + lng + "go.magio.tv/v2/television/epg?filter=channel.id=in=(" + str(tm_ids[1:]) + ");endTime=ge=" + date_from + "T23:00:00.000Z;startTime=le=" + date_to + "T23:59:59.999Z&limit=" + str(len(channels)) + "&offset=0&lang=" + lng.upper(), headers=headers).json()["items"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'items'
-->End of Python script error report<--
