Plugins

Back to All Plugins

Viewarr

Version: 0.6.14 Author: petebutty Last Updated: Nov 29 2026, 23:28 UTC

The server half of Viewarr: does the sports and guide work once for the whole house, puts each channel’s best stream first, acts on reports from the TVs, so every TV is quicker and keeps working with the TVs off.

License: MIT Repository

Downloads

Latest Release

Checksums:

MD5:    3116b7632e06c791956b9c8878e2d410
SHA256: 02f5cc63826389f41ec12fe6cf8d72510fd151d1f2c3b0df06d33de7b7cd1e58

All Versions

Version Download Built Commit MD5 SHA256
0.6.14 Download Nov 29 2026, 23:28 UTC ee3d28a 3116b7632e06c791956b9c8878e2d410 02f5cc63826389f41ec12fe6cf8d72510fd151d1f2c3b0df06d33de7b7cd1e58

Source: Browse Plugin

Metadata: View full manifest


Plugin README

Viewarr plugin for Dispatcharr

The server half of Viewarr, the Android TV app for Dispatcharr.

Viewarr works without this plugin, but then every TV does all the work itself. With the plugin, Dispatcharr does that work once for the whole house and leaves the answers in each person’s own Dispatcharr storage. Each TV just reads them, so:

If the plugin is missing or stops, the TVs go back to doing the work themselves. Nothing breaks.

What it does

Every 5 minutes

Every 45 seconds while a followed game is live

Every second, while a TV watches live TV

When asked

Outside sources (optional)

The plugin contacts no outside site unless you choose it in the plugin’s settings. Each is a simple choice: Off (the default) or its one source. Off, the features that use it work from your Dispatcharr guide only, or not at all.

Setting Source to choose Used for Off
Sports data ESPN Sports page fixtures, results and live scores; Live now’s headline games; score checks Games from your guide only
UK TV listings for games live-footballontv.com Which UK channel shows each football game, weeks ahead Channels from your guide only
Just added JustWatch What’s new on each UK streaming service, for Viewarr’s Just added rows No Just added rows

These are free public sites, not run by this plugin’s author, and none of them is sent anything about you or your server beyond the request itself. An install from before these settings existed has all three chosen once on update, so nothing it used stops working.

Best stream first

Dispatcharr plays a channel’s streams in their saved order and only moves on when one fails, so the first stream is the one everybody gets. With Best stream first on (it is by default), the plugin ranks the streams of every channel that has more than one, every 5 minutes, and puts the best first:

A channel is only moved when its best stream beats the current first by a whole point, and at most once an hour, so the order doesn’t flap. The order each channel had before the plugin first touched it is remembered, and Put stream order back restores every channel at once.

Left alone: channels with a single stream, and channels in the groups Event Channel Managarr manages (it orders its own). To pin one channel, add its id to the keep list in _data/viewarr/streamorder.json.

Setting a channel’s best stream by hand (Viewarr 0.29.9.5 and later): in live TV, open Source, hold OK on a stream and pick Make this the best stream. Viewarr puts that stream first for the channel in Dispatcharr (admins only), and the plugin leaves the channel as set: Best stream first skips it and Put stream order back doesn’t touch it. The pinned channels are shared with every TV, so their own best-source choice follows it too. Let Viewarr choose again on the same stream hands the channel back; it’s sorted again on the next round. (Each admin’s list is kept in their Dispatcharr storage, key viewarr_stream_pins.)

Measuring streams

Dispatcharr only records a stream’s picture size and codec (stream_stats, shown in Viewarr’s Sources menu) when the stream plays through its proxy, so most streams are never measured and Best stream first has to trust the names. With Measure streams at night on (the default), the plugin measures them itself:

The log says which group it is working through (“Measuring: Entertainment, 212 left”), and Sports service status shows tonight’s count. Measure streams now queues one batch of up to 20 at any time of day: it starts within a minute and takes about 2½ minutes at most, still respecting your lines (the result shows in Sports service status).

Reports from the TV

Anyone watching can report a channel from Viewarr. The plugin reads everybody’s reports every 5 minutes and, with Act on reports from the TVs on (the default), applies them straight away, no approval step:

Report What happens
Wrong guide with the right entry chosen on the TV The channel’s guide is set to that entry.
Wrong guide without a choice A guide entry with the same name (ignoring HD / FHD / SD / “UK -“ and the like) in a different source is used, if there is exactly one. Otherwise the report goes on the needs a pick list that Viewarr shows admins.
Guide times out by so many minutes A house-wide offset for that channel, sent to every TV. Nothing changes in Dispatcharr.
Dead stream A failure for that stream, which Best stream first uses in the same round.
Wrong logo The logo of another of the channel’s streams, when one differs.
Wrong name The channel is renamed.
Other Written to the log only.

Every change goes to a change log with who reported it and what was there before. Admins undo one from Viewarr, or on the plugin’s page with Recent changes from reports (shows the last 10 with their ids) and Undo a change (paste the id into Change to undo, save, press the button). The last 200 changes are kept in _data/viewarr/reports.json.

UK football on TV

The plugin has UK football TV listings built in, so Viewarr knows which channel shows a match weeks before your guide lists it. For each game it looks, in order, at:

  1. Your Dispatcharr guide: the programme on a channel that names both teams, in its title or episode title (Schedules Direct lists “Live: NHL Hockey” with the teams underneath).
  2. UK football TV listings from live-footballontv.com: every televised match for the next 30 days, on Sky Sports, TNT Sports, Premier Sports, BBC, ITV, Amazon Prime Video and the rest. The listings channel is then matched to the channel in your lineup.
  3. Event channels named after the match, such as your provider’s event feeds or Event Channel Managarr’s channels.
  4. The club’s own channel (for example SPFL - CELTIC TV, MUTV, LFC TV) for league games that aren’t on UK TV, such as Scottish Saturday 3pm kick-offs.

Games caught by the Saturday 3pm blackout are marked Not on UK TV, rather than pointing at the wrong channel.

Leagues covered: Scottish Premiership, Championship and cups; Premier League, EFL and cups; Champions, Europa and Conference League; internationals; the big European leagues; MLS; rugby union and league; NBA, NFL, NHL and MLB; F1, golf, tennis and UFC.

You don’t need the UK Sport on TV plugin for Viewarr. Use it as well if you want the matches written into Dispatcharr’s guide for every other app too.

Live timeshift: where the buffer is kept

To pause and rewind live TV, the plugin keeps the last part of each channel being watched on your Dispatcharr server. That’s the buffer. It’s deleted as soon as nobody’s watching.

Do I need to do anything?

No. The buffer is always kept in /data/timeshift inside Dispatcharr’s container, the same way Dispatcharr keeps recordings in /data/recordings. Left alone, that’s just a folder in Dispatcharr’s data folder, and it works straight away.

To put it on a better disk, map that disk to /data/timeshift in Docker. That’s the only step; there’s nothing to set in the plugin. See Putting it on a cache disk.

How much space it needs

What makes a good place

Putting it on a cache disk

Unraid

  1. Shares → Add Share. Name it (for example timeshift). Primary storage: your cache pool. Secondary storage: None. Add Share.
  2. Docker → Dispatcharr → Edit → Add another Path, Port, Variable…
    • Config Type: Path
    • Container Path: /data/timeshift
    • Host Path: /mnt/cache/timeshift (your pool name and share name)
    • Access Mode: Read/Write
  3. Save, then Apply. Dispatcharr restarts once.

Docker Compose: under the Dispatcharr service’s volumes: add one line, then run docker compose up -d:

services:
  dispatcharr:
    volumes:
      - ./data:/data                    # (already there)
      - /srv/timeshift:/data/timeshift  # add this: a folder on a fast disk

Synology, TrueNAS, Portainer, CasaOS and others: in Dispatcharr’s container settings, find Volumes (also called Storage, Mounts or Folders) and add one: a folder on a fast disk, mounted at /data/timeshift, read/write. Save and let the container restart.

Check it worked: press Sports service status. After live timeshift it says kept in /data/timeshift (its own disk, … GB free). If the free space is less than your timeshift settings could need, it says so.

The plugin only ever clears its own buffer folders in /data/timeshift; anything else there is left alone.

TV guide and channel logos

The plugin no longer makes a TV guide or fills in channel logos (both were Sky-based, and were removed in 0.6.8). For a proper guide, with logos, use Schedules Direct, which Dispatcharr supports itself (Dispatcharr → EPG → Add → Schedules Direct; it needs a paid Schedules Direct account). On updating, anything the old guide or logos changed is put back: channels pointed at Viewarr: Sky guide return to the guide they had, and logos the plugin set return to the earlier ones (unless you changed them yourself since). The Viewarr: Sky guide source is deleted once no channel uses it.

Install

  1. Dispatcharr → Plugins → Import, and choose viewarr-plugin-<version>.zip from the releases.
  2. Enable it. Dispatcharr asks you to approve what it uses:
    • persistent service: it runs every few minutes;
    • outbound network: it reads the outside sources you choose (ESPN, the UK listings, JustWatch);
    • user data: it reads each person’s Viewarr setup, stream health and reports, and leaves their answers there.

That’s it. Nobody needs to set anything up in Viewarr: each TV finds the plugin by itself. Each person’s follows, Live now groups and alert choices reach the plugin through their synced Viewarr setup.

Settings (all optional)

Setting What it does
Live now On by default. Works out Live now for the house. Off: Live now is off for the house and Viewarr hides it.
Live now: extra channel groups to search The plugin always searches groups whose names sound like sport (Sports, Football, Events, Box Office, EPL…) and Event Channel Managarr’s groups. Add others here, such as your provider’s event-feed groups. Easier: switch a group on in Viewarr → Settings → Live TV → Live now groups, and the plugin searches it from the next round.
Followed games and where they’re on On by default. Fixtures of every followed team and league (ESPN) and the channel for each game (the guide, UK football TV listings). Off: no fixtures or listings fetched here; the Sports page places games from each TV’s own guide only. Sport recordings and score alerts need it on.
Sport recordings On by default. “Record all <team>” and Record on games not yet in the guide, made on the server with the TVs off. Off: Viewarr hides Record all <team> and record-when-listed (recording a game already in the guide still works).
Score alerts and live scores On by default. The 45-second score checks for alerts and the ticker’s Live scores. Off: the stored alerts are emptied and Viewarr hides score alerts and Live scores.
Event channels: only with a listing On by default. Sends the TVs the plugin’s event channels (quiet_channels in viewarr_house), so Viewarr can hide those with nothing listed. Off: an empty list is sent, every event channel is shown and Viewarr hides the option.
Just added (JustWatch) On by default. The daily JustWatch fetch for the “<service> · Just added” rows. Off: the stored lists are removed and Viewarr hides the rows.
IPTV progress sync (Plex, Jellyfin, Emby) On by default. The house-wide switch for IPTV progress sync; each person still switches it on in Viewarr. Off: no syncing, and Viewarr hides the option.
Best stream first On by default. Puts each channel’s best stream first in Dispatcharr; see Best stream first.
Act on reports from the TVs On by default. Applies reports from Viewarr straight away; see Reports from the TV.
Groups never reported Groups that are off air most of the time (club TV). Their streams are never marked failing or measured. Comma-separated.
Change to undo (id) Only for the Undo a change button on Dispatcharr’s page. Viewarr sends the id itself.
Measure streams at night On by default. Measures streams with ffprobe inside the window; see Measuring streams.
Measuring window (local time) HH:MM-HH:MM, default 01:00-07:00. Empty: never on a schedule.
Measure these channel groups first Channel groups in priority order; the rest follow alphabetically.
Measure only the listed groups Off by default. On: skip every other group.
Provider to measure first M3U account name; empty means the one with the most left.
Live timeshift (pause and rewind live TV) On by default. Keeps a buffer of each channel being watched; see above. Off: Viewarr hides it.
Live timeshift: channels All channels (default), or only channels without catch-up (those keep using the provider’s catch-up).
Live timeshift: buffer length How far back a TV can rewind: 30 minutes to 4 hours, default 2 hours. An HD channel takes about 3 GB an hour on the server while it’s watched.
Live timeshift: channels at once Default 3. Beyond it a TV has catch-up (if the channel has it) or live only.
Backups On by default. Off: Viewarr hides Backups and the plugin refuses them; saved ones are kept.

Every function can be switched on or off, and its options set, from Viewarr itself (Settings → Plugins → Viewarr, admins). The plugin tells the TVs which functions are on (functions in viewarr_server); while one is off it’s off for the whole house and Viewarr hides it. Only with no plugin at all do the TVs do these jobs themselves, as before.

Polite to the sources

Requirements

Licence

MIT. See LICENSE.

Groups never reported. Club TV channels and event channels are off air most of the time by nature, so being unplayable isn’t a fault: the plugin never marks their streams as failing, never measures them, and a dead-stream report about one is logged only. The TVs get the same list and don’t report them automatically. Set the groups in Groups never reported (event groups are always included).