Commit Graph
88 Commits
Author SHA1 Message Date
XoséandClaude Opus 5.5 7873b50203 1.0.0+kodimov.13: updates don't stop live TV; IPTV Simple restarts only when idle
- After an add-on update the new service found port 57031 still held by the
  old proxy for a moment and moved to a random port; the stream playing kept
  asking 57031 for its manifest and died a minute later (.49, 2026-11-13).
  The proxy now waits up to 10 s for the port, and SO_REUSEADDR /
  allow_reuse_address are set before binding (upstream set them after, so
  they did nothing).
- IPTV Simple is restarted only when nothing plays and no key was pressed
  for 30 s: on .49 a channel opened during a restart failed with an error.
- After start or update, changed instance files (duplicate removed, refresh
  timer) are picked up by the guide reload instead of a restart of their
  own; the service restarts IPTV Simple itself only if that reload didn't
  happen within 10 minutes. 3 restarts after kodimov.12 -> 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:16:30 +01:00
XoséandClaude Opus 5.5 69a37ff064 1.0.0+kodimov.12: no duplicate TV guide instance; retry the web player registration
- 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>
2026-11-13 14:38:12 +01:00
XoséandClaude Fable 5.2 b3bc561c35 1.0.0+kodimov.11: Movistar's channel numbers with more than one IPTV Simple instance
- 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>
2026-11-13 13:41:35 +01:00
XoséandClaude Fable 5.2 e72e3d4902 1.0.0+kodimov.10: LALIGA, DAZN LALIGA and Liga de Campeones play again
- 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>
2026-11-13 13:17:20 +01:00
XoséandClaude Opus 5.5 e16dd66f63 1.0.0+kodimov.9: get a new guide into Kodi right after start or update
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>
2026-11-10 08:51:51 +01:00
XoséandClaude Opus 5.5 5df60a1fb8 1.0.0+kodimov.8: guide refresh doesn't fail at random; retry after 30 min
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>
2026-11-10 08:36:21 +01:00
XoséandClaude Opus 5.5 9faaa482fc 1.0.0+kodimov.7: synopsis in the programme guide; hourly IPTV Simple reload
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>
2026-11-10 08:31:24 +01:00
XoséandClaude Opus 5.5 09d6a68f74 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>
2026-11-10 08:08:57 +01:00
xockoandClaude Opus 5.5 d74c33011b Clear message when the TV guide setup runs before logging in
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:31:54 +01:00
xockoandClaude Opus 5.5 3940d1b3e6 1.0.0+kodimov.5: write the programme guide before creating the TV guide
"Create settings for IPTV Simple" created the IPTV Simple instance and
then exported channels and EPG. IPTV Simple could load before epg.xml
existed, Kodi then stored an empty guide for every channel and didn't
ask again for hours (seen on a fresh box). Export first, and stop with
an error if the guide file wasn't written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:31:41 +01:00
xockoandClaude Opus 5.5 c9f062206c 1.0.0+kodimov.4: password-less first login from the Movistar network
On a new box the home-network login now also finds the account number
(accountInfo) and registers the box as a device, so no email, password
or account number is needed. The new device id is saved straight away,
so a retry reuses it instead of adding another one. Error pages from the
new servers (including HTML 401s) are retried.

Tested live on 2026-11-07 with a fresh profile; the test devices were
deleted afterwards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:13:31 +01:00
xockoandClaude Opus 5.5 c4a0a7e97d 1.0.0+kodimov.3: one-tap TV guide setup
"Create settings for IPTV Simple" now also:
- turns on Kodi's "use backend channel numbers", so the guide shows
  Movistar's numbers
- reloads the channel list daily at 04:00
- restarts IPTV Simple so the new setup loads without restarting Kodi
and writes valid XML (the catch-up format had a bare &).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:59:01 +01:00
xockoandClaude Opus 5.5 119002fbbf 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>
2026-11-07 11:01:37 +01:00
xockoandClaude Opus 5.5 235f7a6cab Sort the TV guide list by channel number; direct TeleVigo stream
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>
2026-11-07 10:46:10 +01:00
xockoandClaude Opus 5.5 066a203e9e KodiMov+ 1.0.0+kodimov.1: fork of Movistar+ 1.0.0
- 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>
2026-11-07 10:32:59 +01:00
Paco8 ccc17b4e5c Version 1.0.0 2026-11-05 09:55:25 +01:00
Paco8 6511fa80b0 Version 0.11.9 2026-10-08 23:50:34 +02:00
Paco8 0739cca0a9 Version 0.11.8 2026-07-02 10:01:50 +02:00
Paco8 930b238204 Version 0.11.6 2026-04-15 12:25:33 +02:00
Paco8 6aab76c47d Version 0.11.5 2026-03-25 23:33:08 +01:00
Paco8 bd0853e126 Version 0.11.2 2025-07-01 12:57:07 +02:00
Paco8 4f738f61c7 Version 0.11.1 2025-05-21 16:31:06 +02:00
Paco8 0a4044a676 Version 0.11.0 2025-02-22 10:33:10 +01:00
Paco8 966bad60a9 Version 0.10.9 2025-02-09 13:20:47 +01:00
Paco8 cfcf221eec Version 0.10.8 2025-02-01 13:23:49 +01:00
Paco8 120d1ab94c Version 0.10.7 2025-01-25 15:08:02 +01:00
Paco8 9869a2341c Version 0.10.6 2025-01-23 13:38:38 +01:00
Pablo Z. J. 6fd44fd78a Nuevo deviceClass
El dispositivo "android.tv" está siendo bloqueado en la API de initData. Se cambia por uno que aún no está bloqueado.
2025-01-21 10:50:52 +01:00
Paco8 734892771f Version 0.10.5 2025-01-10 14:33:11 +01:00
Paco8 d94cf592dd Version 0.10.4 2024-12-27 11:03:04 +01:00
Paco8 5ad288ddf6 Version 0.10.3 2024-12-18 14:58:38 +01:00
Paco8 c01bdf30b6 Version 0.10.2 2024-12-16 14:48:24 +01:00
Paco8 14c762782a Version 0.10.1 2024-12-03 14:34:54 +01:00
Paco8 2febdf7566 Version 0.10.0 2024-11-08 12:50:52 +01:00
Paco8 fe2f12b714 Version 0.9.15 2024-11-07 14:04:36 +01:00
Paco8 3ff31353c0 Version 0.9.14 2024-10-19 08:27:28 +02:00
Paco8 af0a1fb6a6 Version 0.9.13 2024-10-08 14:08:53 +02:00
Paco8 2a8157c238 Version 0.9.12 2024-10-01 13:50:10 +02:00
Paco8 70702fd298 Version 0.9.11 2024-09-26 13:31:38 +02:00
Paco8 5ed25e7243 Version 0.9.10 2024-09-22 13:15:00 +02:00
Paco8 cb01797826 Version 0.9.9 2024-09-16 13:18:12 +02:00
Paco8 08209c8955 Version 0.9.7 2024-09-08 14:28:49 +02:00
Paco8 2c2566d8b5 Version 0.9.6 2024-09-02 22:58:18 +02:00
Paco8 18806ef6c7 Version 0.9.5 2024-08-28 13:58:53 +02:00
Paco8 fa25eefdf4 Version 0.9.4 2024-08-14 15:55:28 +02:00
Paco8 0c83485f4e Version 0.9.3 2024-08-12 14:52:01 +02:00
Paco8 646008ed99 Version 0.9.2 2024-06-25 22:32:12 +02:00
Paco8 baecf07a4a Version 0.9.1 2024-06-19 15:28:22 +02:00
BuildTools 090422ea57 Nuevo X-TCDN-Token endpoint 2024-06-03 10:57:03 +02:00
Paco8 7d8b7346c3 Version 0.8.18 2024-03-30 23:06:10 +01:00