1.0.1: get along with KodiMov+

- Channel numbers: 1.0.0 set "use channel numbers from backend" before
  "always", which Kodi refuses with more than one PVR instance loaded, and
  wrote its marker anyway. Now it checks every 5 minutes: if the setting is
  hidden it turns "always" on, and it turns the setting on once (new marker
  numbers-on, so existing installs get one proper pass). It never turns
  anything off, and turning it off by hand afterwards is respected.
- Takes turns with KodiMov+ to restart IPTV Simple, through the
  pvr.iptvsimple.restarting property of Kodi's home window.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
XoséandClaude Fable 5.2 committed 2026-11-13 13:41:36 +01:00
1 parent 798c08d1b8
commit 333b8ef7ad
3 files changed
+79 -17

No files matched your search

+15 -3
View File
@@ -19,9 +19,21 @@ Renascença, …) are left out on purpose.
IPTV Simple instance (`instance-settings-95.xml`, or the next free number)
that reads `resources/radio.m3u` and `resources/logos/` from the add-on
folder, and restarts IPTV Simple (only when nothing is playing) if the
station list changed. On the first run it turns on *Use channel numbers from
backend* + *always*, so the frequencies show as channel numbers and KodiMov+
keeps Movistar's TV numbers.
station list changed.
## Living with KodiMov+
Both add-ons keep an instance of IPTV Simple, and share two things in Kodi:
- **Channel numbers.** Kodi only lets *Use channel numbers from backend* be
changed while it applies: with one PVR instance loaded, or with several and
*always* on. So which add-on came first changed the result. Both add-ons
now check it every few minutes: if the setting is hidden they turn *always*
on, and they turn the setting itself on once. Neither ever turns anything
off, and once it has been on, turning it off by hand is respected.
- **Restarting IPTV Simple** restarts every instance. Each add-on does it only
when nothing is playing, and they take turns through a property of Kodi's
home window (`pvr.iptvsimple.restarting`).
## Programme guide