Kodi Community Forum

Full Version: [RELEASE] SVT Play (Plugin) Video Addon - Sveriges Television (Swedish TV)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
(2022-11-03, 15:57)tmpusr Wrote: [ -> ]This error is still an issue using Kodi 19.4 on latest osmc.
Can't play any videos in the "filmer" category:

Code:

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: 'data'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.svtplay/default.py", line 12, in <module>
   svt_play.run(PLUGIN_PARAMS)
 File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/svtplay.py", line 74, in run
   self.navigate(arg_mode, arg_id, arg_params)
 File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/svtplay.py", line 103, in navigate
   self.start_video(id)
 File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/svtplay.py", line 223, in start_video
   video_data = self.graphql.getVideoDataForLegacyId(legacy_id)
 File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/api/graphql.py", line 199, in getVideoDataForLegacyId
   json_data = self.__get(operation_name, query_hash, variables=variables)
 File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/api/graphql.py", line 359, in __get
   return json_data["data"]
   KeyError: 'data'
   -->End of Python script error report
 
Still an issue on 5.1.15 @tmpusr ?

In the future, please file any issues here: https://github.com/kodi-svtplay/xbmc-svtplay/issues
(2022-10-14, 19:58)johndoe85 Wrote: [ -> ]I want to add a request called favourites where i can add for example Svenska Nyheter to, and when entering that i want it to list the latest show at the top.

Thanks for the suggestion. Unfortunately that won't be added to the addon as it is outside of the addon's intended behavior.

Kodi has a built-in favorites system, have you tried that?
https://kodi.wiki/view/Favourites
Hi

Kodi stops playing when inside the channels.
Here's a logfile while it fails doing so.

https://pastebin.com/GyAg2XDF

ToddeSwe

Windows KODI is used.
(2022-12-04, 18:05)ToddeSwe Wrote: [ -> ]Hi

Kodi stops playing when inside the channels.
Here's a logfile while it fails doing so.

https://pastebin.com/GyAg2XDF

ToddeSwe

Windows KODI is used.

Do you mean the channel stops playing after approximately 5 minutes? If so, that is an issue with the svt streams that the addon can't solve AFAIK.

Please use Github for issue reports in the future, thanks!
(2022-12-04, 23:19)linqcan Wrote: [ -> ]
(2022-12-04, 18:05)ToddeSwe Wrote: [ -> ]Hi

Kodi stops playing when inside the channels.
Here's a logfile while it fails doing so.

https://pastebin.com/GyAg2XDF

ToddeSwe

Windows KODI is used.

Do you mean the channel stops playing after approximately 5 minutes? If so, that is an issue with the svt streams that the addon can't solve AFAIK.

Please use Github for issue reports in the future, thanks!

Why would they do that to us? Smile What's the meaning with it?

I'll remember that i hope, it's not so often Kodi fails. Smile
Anyone having problem with SVTPlay currently?
No data is fetched, running  v5.1.18 of the Addon (Kodi 18.x on RPI), everything was running nicely two nights ago.

Not a problem report, yet, but I get these errors:
Code:

2023-09-04 22:50:18.795 T:1361035488   ERROR: [plugin.video.svtplay] Missing key 'data' in JSON response: {u'errors': [{u'message': u'PersistedQueryNotFound'}]} for operationName=GridPage, variables={u'selectionId': u'popular_start'}, queryHash=b30578b1b188242ce190c8a2cefe3d4694efafd17a929d08d273ae224a302b24
2023-09-04 22:51:14.154 T:1293934816   ERROR: [plugin.video.svtplay] Missing key 'data' in JSON response: {u'errors': [{u'message': u'PersistedQueryNotFound'}]} for operationName=GridPage, variables={u'selectionId': u'popular_start'}, queryHash=b30578b1b188242ce190c8a2cefe3d4694efafd17a929d08d273ae224a302b24

I've tested for network errors and restarted the RPI, still no good. Any ideas welcome.
Yes yesterday I could t play Senaste or anything from the favorite.
Ok, so it is not only me/us then, that is some comfort.
Presumably SvT made some changes (again) impacting open source providers like us.
Chromecast streaming handled the situation yesterday, but I would love to see Kodi functionality restored :-)
Still a problem tonight. About time to file a proper PR @ github...
Same with Retrospect, but a temporary fix is released.
(2023-09-05, 22:33)MatteN Wrote: [ -> ]Same with Retrospect, but a temporary fix is released.

Where can i get this release?
(2023-09-06, 15:49)MatteN Wrote: [ -> ]https://forum.kodi.tv/showthread.php?tid...pid3165356

I see my misstake here, was not noting that you where talking about retrospect. Smile
Is there a solution on its way for this or what is happening?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42