Repository navigation
M3U Failover 1.2
Gives a Dispatcharr M3U account several provider URLs, and moves to the next one when a URL fails.
Features
- Tells a refused VPN exit from a missing title. When every URL answers 404 for a movie or episode, the proxy asks up to
CANARIEStitles that played before for one byte. If they are refused too, the exit is refused, not the title. The proxy then asks Gluetun AutoSwitch 1.7 to move the exit, and retries the same request on the new exit. All of this stays withinREQUEST_DEADLINE_SECONDS(9 s), under Dispatcharr's 10 s read timeout. If no title has played yet, a movie is looked up in the catalogue instead. - Added
GET /__vod_check, which Gluetun AutoSwitch uses for its background check while nobody is watching. It does nothing while the account is streaming. - Remembered titles are kept in
vod_canaries.jsonnext toupstreams.conf, as type and file name only, never with the login. It is in.gitignore. - New settings:
EXIT_HOOK_URL(offdisables the exit move),REQUEST_DEADLINE_SECONDS,CANARIESandCANARY_FILE.
Before you update
/configmust stay writable, as it already is for the nightly sort.- Without Gluetun AutoSwitch 1.7, the proxy works as before: an agreed 404 is passed on to Dispatcharr.
Installing
- See the README.