(2020-11-26, 19:57)phunkyfish Wrote: (2020-11-26, 17:49)vip. Wrote: hi
Is there a way to update the epg manually (importing guide from clients by adding RunPlugin/RunScript in keyboard.xml) without enable-disable IPTV Simple Client and without stopping the current live video?
Can you explain what you are trying to achieve here?
I use primaeval's
IPTV addons.
I have several epg sources, and with this addon they merge into one xml file, every time kodi starts (like iptv merge addon).
I want every time kodi starts, there will be both the merging of the sources into one xml file and an update of the epg.
The problem is that merging takes time until it ends, and when it does, IPTV Simple Client are disabled and then enabled. Which causes the video to stop.
I have attached the
specific code of the update channel. At the end there are these 2 lines that I want to replace with a script that makes 'importing guide from clients' without disabling IPTV Simple Client:
time.sleep(2)
RPC.addons.set_addon_enabled(addonid='pvr.iptvsimple', enabled=False)
time.sleep(2)
RPC.addons.set_addon_enabled(addonid='pvr.iptvsimple', enabled=True)
(Sorry for my English)