Skip to content

1.93: Vavoo/Kool channels again, no needless token, EPG database weekly - #69

Merged
pQu4k3r merged 4 commits into
mainfrom
develop
Dec 1, 2026
Merged

pQu4k3r merged 4 commits into
mainfrom
develop

Conversation

@pQu4k3r

@pQu4k3r pQu4k3r commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Why

User reports and requests since 1.92:

  • "Vavoo/Kool only" had no channels. Vavoo's catalog API (/mediahubmx-catalog.json) answers 500 {"error":"Internal error"} on vavoo.to and kool.to, to every token (VYPN, Vavoo, Lokke), every request, even with no token - it is down for everyone. vavoo.to's own channel index (/live2/index) still answers, and its streams played on the user's box.
  • Tokens were pinged for nothing: with a list that needs none, the token was renewed every ~8 minutes for ever, and every recording kept one of its own alive.
  • "The EPG workflow does not seem to work": it waited for a self-hosted runner that no longer exists (every weekly run cancelled after 24 h since 2026-10-12), and the plugin read the database from a repository the workflow never wrote.
  • Clean up the code that no longer serves.

What changes

Vavoo source

  • vavoo.to's channel index when the catalog API fails (load_vavoo_index()): about 10 000 channels in 17 countries, the source numbers as tags (".b/.c/.s", grouped like Geil's), the guide id of each channel.
  • Played with no token (_resolve_vavoo_index()): the stream server's address is asked once and kept for the whole viewing; recordings and the zap ahead need no token either.
  • The API first: when Vavoo's catalog answers again, it is used as before.

Tokens

  • Only where needed: token_required per catalog (not Geil's, not the index's); the token monitor, /status / /health and a recording's keep-alive (channel_needs_token()) follow it.
  • The status line names the source by catalog_source: the index's list is "✓ Vavoo OK · n ch".

EPG channel database

  • The workflow on GitHub's runners (merged in EPG channel database: the workflow on GitHub's runners #68): tests/headless_proxy.py runs the plugin's proxy there; the weekly run on 2026-11-30 worked (3f9af5e3).
  • Read from this repository (CURATED_DB_HOST = UPDATE_HOST), a curated id the feed does not have is not taken - this release is what brings it to the boxes.

Cleanup

  • Removed what nothing called: paypal(), _bouquet_country_prefix(), four notification helpers, unregister_file(), color_for(), download_flag_online() / get_screen_width(), VavooSearch's toggleCase() / updateStatusText(), manage_epg_source().

Version

  • 1.93 in __init__, CONTROL/control, installer.sh (and its changelog), the .bb and the README badge.

Tests

  • New: test_vavoo_index.py (Python 2 and 3): the index's channels, sources grouped, resolve once and cached, /vavoo and a group through the proxy, recording and prefetch without a token, no token renewed for a list that needs none, the status line.
  • Local run, Python 3.11: 42 tests, 0 failed.
  • The develop CI: green on Python 2.7, 3.10 and 3.13 for every commit here.
  • Against the real vavoo.to (from the dev environment): READY 10349 channels (vavoo), /status token_required: false, /health healthy, a channel's /vavoo → 302 to the stream server.
  • On the user's box (sf8008): the index's channels play.

Not verifiable without the box

  • How long a stream server's address stays valid on every image (a failed stream asks a new one, as for every channel).
  • More channels with a guide from the new database on boxes in other countries.

Generated by Claude Code

The user: "Vavoo/Kool only" has no channels - vavoo.to and kool.to answer
the catalog with HTTP 500. Checked from here: Vavoo's catalog API
(/mediahubmx-catalog.json) answers 500 "Internal error" on both sites to
every token (VYPN, Vavoo, Lokke), every request, and with no token at
all - it is down for everyone. vavoo.to's own channel index
(/live2/index?countries=all&output=json) still answers: 10 000+ entries,
17 countries, a guide id each, no token; its play addresses
(/live2/play3/<n>.m3u8) redirect to a stream server, and played on the
user's box (sf8008: 200, an HLS playlist).

- load_catalog(): when no site gives the catalog, load_vavoo_index() -
  the id from the play address, fix_geil_name() on the name ("(1)/(6)/
  (7)" -> ".b/.c/.s": sources group as Geil's), the logo fixed, tvg_id
  as epg_id, at least 100 channels. Its failure only logged: the status
  line keeps the API's error.
- _resolve_vavoo_index(): the 302's Location asked once (a new one each
  request) and kept in the resolve cache, so /vavoo stays on one address
  for the viewing; no token for the player, a recording (resolve_own())
  or prefetch().
- tests/test_vavoo_index.py (Python 2 and 3): fake site - the index's
  channels, sources grouped, resolve once and cached, /vavoo and a group
  through the proxy, recording and prefetch without a token, a 200 / 404
  play address, the API first when it answers, an index that fails or
  is short. test_catalog_source: the index on its fake site.
- Checked against the real vavoo.to from here: "READY 10468 channels
  (vavoo)", Portugal 201 rows, AXN /vavoo -> 302 to the stream server.
- CLAUDE.md, README / readme.
The user: clean up the code that no longer serves - Vavoo's catalog API
and its token are kept (its HTTP 500 may pass; the plugin goes back to
it by itself), the rest removed.

A token only where it is needed:
- With vavoo.to's channel index in use the token monitor still renewed
  Vavoo's token every ~8 min for ever, and every recording kept a token
  of its own alive (on Geil's list too) - nothing used them. /status
  and /health said token_required whenever the list was not Geil's.
- _install_catalog() sets token_required (a Vavoo list with an address
  that is not one of the index's; an empty one counts), needs_token()
  reads it (never on Geil): /status, /health and the monitor
  (_token_monitor_tick(), the loop's body, testable) go by it.
  channel_needs_token(channel_id) (_channel_candidates(), shared with
  resolve_own()) for a recording's keep-alive in ui_record.
- The status line names the source by catalog_source (SOURCE_NAMES), no
  longer by token_required - the index's list stays "✓ Vavoo OK".

Removed (nothing in the plugin called them; vulture + grep): paypal(),
_bouquet_country_prefix(), the notification module's show_notification /
show_download_notification (+ show_download_status) /
hide_current_notification / cleanup_notifications, unregister_file(),
color_for(), download_flag_online() and then get_screen_width(),
VavooSearch's toggleCase() / updateStatusText() / upper_case,
manage_epg_source() and its import. Kept: folder_of() (the store's API
the tests use) and the methods Enigma2 calls by name.

- tests/test_vavoo_index.py: no token on the index's list (/status, a
  recording, a group), an old token not renewed for it, renewed on the
  API's list, none on Geil's; the status line. Checks of the removed
  helpers dropped (test_py2_separators, py2_smoke uses hue_for()).
- Against the real vavoo.to: "READY 10349 channels (vavoo)", /status
  token_required false, /health healthy.
- CLAUDE.md, README / readme.
Version 1.93 in __init__, CONTROL/control, installer.sh (with its
changelog), the .bb and the README badge.

In this version (develop since 1.92):
- "Vavoo/Kool only" has channels again: Vavoo's catalog API answers
  HTTP 500 to everyone, so the proxy loads vavoo.to's own channel index
  (about 10 000 channels, 17 countries) and plays it with no token.
- A token is asked and renewed only while the list in use needs one
  (not Geil's, not the index's); recordings likewise.
- The curated EPG channel database is regenerated weekly on GitHub's
  runners again, and the plugin reads it from this repository.
- Code nothing called removed.
@pQu4k3r
pQu4k3r merged commit 0693dca into main Dec 1, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant