Skip to content

About

Dispatcharr plugin that retries a failed VOD stream on the next provider account that carries the title, and manages M3U Failover mirror URLs

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Failover Manager

A plugin for Dispatcharr. Formerly called VOD Failover.

When a VOD stream fails to start on one provider account (for example HTTP 458, 404 or a timeout), this retries the same title on the next account that carries it. It remembers the failure, so later requests go straight to a working account.

Tested on Dispatcharr 0.33.0.

Works with M3U Failover and Gluetun AutoSwitch. All three together cover provider URL failover, account failover for VOD, and VPN exit switching.

See Dispatcharr Failover Stack to install all three side by side.

Install

Copy this repository's files into /data/plugins/failover_manager in your Dispatcharr data folder, then enable Failover Manager on the Plugins page.

Or download failover_manager-1.6.0.1.zip from Releases and import it on the Plugins page. Use that zip rather than GitHub's source zip, because Dispatcharr names the plugin after the zip's top folder.

Upgrading from VOD Failover

1.6 renamed the plugin, so Dispatcharr sees it as a new plugin with its own settings.

  1. Note your settings in VOD Failover, then remove it on the Plugins page (or delete /data/plugins/vod_failover).
  2. Install Failover Manager as above, enable it and enter your settings again. Use Load Mirror List to fill the Mirror list box again.
  3. Gluetun AutoSwitch 1.8.4.2 or later reads the new log lines. Older versions only read the old ones, so update it too.

Use

  1. Enable it in the plugin settings. It needs at least two accounts carrying the same titles.
  2. Check Hook Status confirms it is active.
  3. Clear Remembered Failures resets what it has learned.

When a client asks for a specific account (?m3u_account_id= on the VOD URL), that choice is kept. The account is never skipped, a connection-limit error (458, 460, 429) is retried on the same account for about 5 seconds, and the request never moves to another account. If the account is still busy, the client gets the error.

Mirror URLs

If you run M3U Failover 1.3 or later, the Mirror URLs section manages its URL lists from this page. Every account whose Server URL points at the M3U Failover address is listed.

  • Mirror Status shows the URL each account uses, pauses, resting URLs, streams playing and the last sort.
  • Load Mirror List copies the proxy's lists into the Mirror list box. Reopen the page to see them.
  • Apply Mirror List sends the saved box to the proxy, which updates upstreams.conf and uses the new order at once. Edit, press Save, then Apply. Accounts left out of the box are not changed.
  • Sort Mirrors Now runs the proxy's nightly sort straight away.

Notes

  • It patches Dispatcharr's internal VOD functions, so a Dispatcharr update can break it. Check the hook status after updating.
  • The Streamcache settings are optional and only matter if you run a Streamcache service.

More by Brxdy22

  • M3U Failover: Proxy that gives an M3U account several provider URLs and fails over between them. Docker image: brxdy22/m3u-failover.
  • Gluetun AutoSwitch: Moves Gluetun to another VPN exit when streams slow down, VOD is refused or speed tests fail.
  • Clean Titles: Renames VOD movies and series to their official TMDB titles and tidies provider categories.
  • Teamarr Assistant: Tags regional sports networks with their teams and starts Teamarr generations when new streams appear.

Release notes

See Releases.

Licence

MIT

About

Dispatcharr plugin that retries a failed VOD stream on the next provider account that carries the title, and manages M3U Failover mirror URLs

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages