Repository navigation
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
User reports and requests since 1.92:
/mediahubmx-catalog.json) answers500 {"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.What changes
Vavoo source
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._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.Tokens
token_requiredper catalog (not Geil's, not the index's); the token monitor,/status//healthand a recording's keep-alive (channel_needs_token()) follow it.catalog_source: the index's list is "✓ Vavoo OK · n ch".EPG channel database
tests/headless_proxy.pyruns the plugin's proxy there; the weekly run on 2026-11-30 worked (3f9af5e3).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
paypal(),_bouquet_country_prefix(), four notification helpers,unregister_file(),color_for(),download_flag_online()/get_screen_width(), VavooSearch'stoggleCase()/updateStatusText(),manage_epg_source().Version
__init__, CONTROL/control, installer.sh (and its changelog), the .bb and the README badge.Tests
test_vavoo_index.py(Python 2 and 3): the index's channels, sources grouped, resolve once and cached,/vavooand a group through the proxy, recording and prefetch without a token, no token renewed for a list that needs none, the status line.READY 10349 channels (vavoo),/statustoken_required: false,/healthhealthy, a channel's/vavoo→ 302 to the stream server.Not verifiable without the box
Generated by Claude Code