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>
- 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>
Kodi lists channels in file order, so TVG2 and TeleVigo showed up last.
TeleVigo's master playlist points to an ad server URL with unfilled
placeholders that Kodi can't open; use the direct playlist instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New id plugin.video.kodimovplus, name KodiMov+, proxy port 57031
- Takes over the login of plugin.video.movistarplus on first run
- Password-less login from the Movistar home network (autologin token
traded for a classic token via the new servers' initData)
- Hides the channels that can't play (LALIGA, Liga de Campeones)
- Adds TVG2 and TeleVigo to the TV guide list
- Re-exports the TV guide channel list every 6 hours
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>