2020-05-12, 02:31
(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.