Basically I have a python script which is an addon for Kodi. I would like to create some sort of IPTV and update channels accordingly but the addon won't get updated.
I've thought of a method where I have the python script hosted on the internet which includes several channels like this, then I call that script from the addon python script itself. Therefore when I want to add new channels, I only edit the script hosted on the internet. The internet script will look something like this:
url = 'link of channel'
li = xbmcgui.ListItem('Name of channel', iconImage='DefaultVideo.png')
xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)
Is this possible? Can I call this script hosted on the internet through another local python script and so it gets executed inside that script itself?
Thanks