1.0.0+kodimov.6: keep refreshing the programme guide on boxes set up with kodimov.1
kodimov.1 shipped the automatic guide export off. Kodi stored that value, so the later default of on never applied and only the channel list was refreshed; the 2-day guide ran out. Rename the setting so the new default applies, and turn it on from the one-tap TV guide setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d74c33011b
commit
09d6a68f74
4 files changed
+8
-4
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.kodimovplus"
|
<addon id="plugin.video.kodimovplus"
|
||||||
name="KodiMov+"
|
name="KodiMov+"
|
||||||
version="1.0.0+kodimov.5"
|
version="1.0.0+kodimov.6"
|
||||||
provider-name="Paco8, xocko">
|
provider-name="Paco8, xocko">
|
||||||
<requires>
|
<requires>
|
||||||
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
|
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
|
||||||
@@ -21,7 +21,8 @@
|
|||||||
<summary lang="es_ES">Movistar+ para Kodi, con inicio de sesión automático desde la red de Movistar</summary>
|
<summary lang="es_ES">Movistar+ para Kodi, con inicio de sesión automático desde la red de Movistar</summary>
|
||||||
<description lang="en_GB">Fork of Paco8's Movistar+ add-on (plugin.video.movistarplus). Logs in by itself from the Movistar home network, keeps the channel list and numbers up to date, hides the channels that need stronger DRM than Kodi has, adds free Galician channels (TVG2, TeleVigo) and writes a programme guide for every channel. Requires a Movistar+ subscription.</description>
|
<description lang="en_GB">Fork of Paco8's Movistar+ add-on (plugin.video.movistarplus). Logs in by itself from the Movistar home network, keeps the channel list and numbers up to date, hides the channels that need stronger DRM than Kodi has, adds free Galician channels (TVG2, TeleVigo) and writes a programme guide for every channel. Requires a Movistar+ subscription.</description>
|
||||||
<description lang="es_ES">Fork del addon Movistar+ de Paco8 (plugin.video.movistarplus). Inicia sesión solo desde la red de Movistar, mantiene la lista y los números de los canales al día, oculta los canales que necesitan una protección que Kodi no tiene añade canales gallegos gratuitos (TVG2, TeleVigo) y genera la guía de programación de todos los canales. Se necesita estar abonado a Movistar+.</description>
|
<description lang="es_ES">Fork del addon Movistar+ de Paco8 (plugin.video.movistarplus). Inicia sesión solo desde la red de Movistar, mantiene la lista y los números de los canales al día, oculta los canales que necesitan una protección que Kodi no tiene añade canales gallegos gratuitos (TVG2, TeleVigo) y genera la guía de programación de todos los canales. Se necesita estar abonado a Movistar+.</description>
|
||||||
<news>1.0.0+kodimov.5: TV guide setup writes the programme guide before creating the IPTV Simple settings, so the guide isn't empty on a new box.
|
<news>1.0.0+kodimov.6: the programme guide refreshes on its own again on boxes first set up with kodimov.1, where the automatic guide export had stayed off (the guide ran out after 2 days).
|
||||||
|
1.0.0+kodimov.5: TV guide setup writes the programme guide before creating the IPTV Simple settings, so the guide isn't empty on a new box.
|
||||||
1.0.0+kodimov.4: first login on a new box needs no password from the Movistar home network: the account is found and the box registered automatically.
|
1.0.0+kodimov.4: first login on a new box needs no password from the Movistar home network: the account is found and the box registered automatically.
|
||||||
1.0.0+kodimov.3: one-tap TV setup: "Create settings for IPTV Simple" also turns on Movistar channel numbers, daily list reload, and restarts IPTV Simple; fixes invalid XML in that file.
|
1.0.0+kodimov.3: one-tap TV setup: "Create settings for IPTV Simple" also turns on Movistar channel numbers, daily list reload, and restarts IPTV Simple; fixes invalid XML in that file.
|
||||||
1.0.0+kodimov.2: programme guide for every channel (Movistar + TVG2/TeleVigo), TeleVigo on 15, silent background refresh.
|
1.0.0+kodimov.2: programme guide for every channel (Movistar + TVG2/TeleVigo), TeleVigo on 15, silent background refresh.
|
||||||
|
|||||||
@@ -770,6 +770,8 @@ def create_iptv_settings():
|
|||||||
show_notification(addon.getLocalizedString(30509)) # Log in first
|
show_notification(addon.getLocalizedString(30509)) # Log in first
|
||||||
return
|
return
|
||||||
save_iptv_settings(filename, 'KodiMov+', 'kodimovplus', epg_url)
|
save_iptv_settings(filename, 'KodiMov+', 'kodimovplus', epg_url)
|
||||||
|
# IPTV Simple now reads epg.xml, so the service must keep it up to date.
|
||||||
|
addon.setSettingBool('auto_export_epg', True)
|
||||||
# Show Movistar's own channel numbers instead of 1, 2, 3...
|
# Show Movistar's own channel numbers instead of 1, 2, 3...
|
||||||
xbmc.executeJSONRPC(json.dumps({'jsonrpc': '2.0', 'id': 1, 'method': 'Settings.SetSettingValue',
|
xbmc.executeJSONRPC(json.dumps({'jsonrpc': '2.0', 'id': 1, 'method': 'Settings.SetSettingValue',
|
||||||
'params': {'setting': 'pvrmanager.usebackendchannelnumbers', 'value': True}}))
|
'params': {'setting': 'pvrmanager.usebackendchannelnumbers', 'value': True}}))
|
||||||
|
|||||||
@@ -62,7 +62,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<setting label="30508" type="bool" id="export_channels" default="true"/>
|
<setting label="30508" type="bool" id="export_channels" default="true"/>
|
||||||
<setting label="30305" type="bool" id="export_epg" default="true"/>
|
<!-- "auto_export_epg", not "export_epg": kodimov.1 shipped "export_epg" off and Kodi kept that value -->
|
||||||
|
<setting label="30305" type="bool" id="auto_export_epg" default="true"/>
|
||||||
<setting label="30315" type="number" id="export_days" default="2" enable="eq(-1,true)"/>
|
<setting label="30315" type="number" id="export_days" default="2" enable="eq(-1,true)"/>
|
||||||
<setting type="sep"/>
|
<setting type="sep"/>
|
||||||
<setting label="30312" type="action" id="export_epg_now" action="RunPlugin(plugin://plugin.video.kodimovplus/?action=export_epg_now)" option="close"/>
|
<setting label="30312" type="action" id="export_epg_now" action="RunPlugin(plugin://plugin.video.kodimovplus/?action=export_epg_now)" option="close"/>
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ if __name__ == '__main__':
|
|||||||
break
|
break
|
||||||
if time.time() >= next_export:
|
if time.time() >= next_export:
|
||||||
next_export = time.time() + 6 * 3600
|
next_export = time.time() + 6 * 3600
|
||||||
if addon.getSettingBool('export_epg'): # channels + programme guide
|
if addon.getSettingBool('auto_export_epg'): # channels + programme guide
|
||||||
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.kodimovplus/?action=export_epg_now&quiet=1)')
|
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.kodimovplus/?action=export_epg_now&quiet=1)')
|
||||||
elif addon.getSettingBool('export_channels'):
|
elif addon.getSettingBool('export_channels'):
|
||||||
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.kodimovplus/?action=export_channels_now)')
|
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.kodimovplus/?action=export_channels_now)')
|
||||||
|
|||||||
Reference in new issue
Block a user