1.0.0+kodimov.2: programme guide for every channel, TeleVigo on 15

- The amazon.tv guide that upstream 1.0.0 switched to is a flat list of
  programmes; group it by channel (the guide export crashed with KeyError)
- Add TVG2/TeleVigo listings from the EPG_dobleM guide to epg.xml
- Export channels + programme guide every 6 hours, by default, without
  on-screen notifications
- TeleVigo moves to 15, near the generalist channels

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xockoandClaude Opus 5.5 committed 2026-11-07 11:01:37 +01:00
1 parent 235f7a6cab
commit 119002fbbf
11 files changed
+70 -26

No files matched your search

+5 -9
View File
@@ -38,14 +38,8 @@ if __name__ == '__main__':
proxy.start()
LOG('proxy_address: {}'.format(proxy.proxy_address))
if addon.getSettingBool('export_epg'):
try:
export_epg()
except:
pass
# Refreshes the TV guide channel list (new channels, new numbers) every
# 6 hours. Opening the add-on also renews the 10-day Movistar login.
# Refreshes the TV guide channel list (new channels, new numbers) and the
# programme guide a minute after Kodi starts and then every 6 hours. Opening the add-on also renews the 10-day Movistar login.
next_export = time.time() + 60
monitor = xbmc.Monitor()
while not monitor.abortRequested():
@@ -53,7 +47,9 @@ if __name__ == '__main__':
break
if time.time() >= next_export:
next_export = time.time() + 6 * 3600
if addon.getSettingBool('export_channels') and not addon.getSettingBool('export_epg'):
if addon.getSettingBool('export_epg'): # channels + programme guide
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.kodimovplus/?action=export_epg_now&quiet=1)')
elif addon.getSettingBool('export_channels'):
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.kodimovplus/?action=export_channels_now)')
proxy.stop()