Your 2nd Add-On: Online Videos!
#74
(2020-05-11, 21:18)Roman_V_M Wrote: I don't see the point.  There are plenty of web servers with different data formats. And Python in Kodi is no different than regular Python. As for interacting with web servers in general, Python Requests library documentation is a good starting point. 

Well,

above in the thread I provided a sample of the code -- it works outside of the Kodi, but in plugin.video.example it produces an error which is obscure and I could not decipher what caused it.

You can try it yourself and see produced error -- the code uses Requests library which you referred to. It was a reason why I asked you for assistance or give a sample of retrieving data from web server into VIDEO variable.

The file which I retrieve has same format you use for VIDEO variable in the plugin.

Outside Kodi the file retrieved successfully and loaded into dictionary successfully, data are accessible --  but it does not work in Kodi plugin.
Reply


Messages In This Thread
Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:28
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:33
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-30, 14:42
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-12-01, 12:58
RE: Your 2nd Add-On: Online Videos! - by zag - 2016-01-18, 14:37
RE: Your 2nd Add-On: Online Videos! - by Polar Bear - 2020-05-12, 02:31
RE: Your 2nd Add-On: Online Videos! - by pa79 - 2020-09-09, 19:59
Logout Mark Read Team Forum Stats Members Help
Your 2nd Add-On: Online Videos!2