- The TV guide setup always wrote instance-settings-91.xml, so on a box
already set up with another instance (from the original add-on) both read
channels.m3u8 and every channel showed twice. The setup now rewrites the
instance that already reads the list, and the service deletes extra ones
at start (keeps the one that isn't 91, which holds what was watched) and
restarts IPTV Simple when nothing plays.
- The web player registration for the new servers got one 401 error page
and gave up, and the TV guide list then lacked LALIGA, DAZN LALIGA and
Liga de Campeones until the next export 6 hours later. The registration
is tried 3 times, and after a failure the service exports the list again
every half hour, up to 6 times.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Kodi only lets "use channel numbers from backend" be read or changed while
it applies: one PVR instance loaded, or several and "always" on. With a
second instance (Radios de Vigo, a leftover empty one) it refused the
setting the TV guide setup made, and numbered the channels 1, 2, 3...
- The service now checks it every 30 minutes and after the setup: if the
setting is hidden it turns "always" on, and it turns the setting on once
(marker file numbers-set). It never turns anything off, and turning it off
by hand afterwards is respected. Existing setups are put right this way.
- KodiMov+ and Radios de Vigo take turns 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>
- These 25 channels are missing from the amazon.tv channel list and their
streams answer 403 to the CDN token of the classic servers. They are now
taken from the web player's channel list and guide and opened with a CDN
token from Movistar's new servers (live and catch-up). Stream session and
licence stay on the classic servers. The other channels are untouched.
- The new servers need a device registered as a web player and the Movistar
home network: a box registered otherwise gets one extra registration;
away from the home network the channels are not listed.
- The CDN token is used for its 12 hours and renewed in the background: the
server that gives it out at times refuses everything for minutes.
- New setting, off by default: always play at the best quality, up to 1080p
(InputStream Adaptive stays at 576p on these streams when left on automatic).
- Error 4027 is shown only when the retry after registering the device again
fails too; the first licence request for these channels always gets it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Kodi keeps its own copy of the programme guide and fetches it again only
when IPTV Simple reloads its files, on its refresh timer; restarting IPTV
Simple is not enough. After the first refresh following a Kodi start or
add-on update, if the guide changed and nothing is playing, restart IPTV
Simple with a 1-minute timer, wait for the reload, then restart it with
the hourly timer again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
datetime.strptime sometimes fails in Kodi's embedded Python ('NoneType'
object is not callable), which aborted the whole guide export. Build the
XMLTV times without it.
The service now checks every 30 minutes and refreshes when the files are
over 6 hours old, so a failed refresh is retried soon. write_if_changed
touches an unchanged file so its time means "last refreshed".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Movistar's guide already carries the synopsis (Resena), genre, year,
age rating and pictures; write them to epg.xml.
IPTV Simple was set to reload the channel list and guide once a day at
4:00, so a new epg.xml didn't reach Kodi until then. Use its hourly
reload, which also makes Kodi fetch the guide again. The service switches
existing TV guide setups over once and restarts IPTV Simple when nothing
is playing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>