Manage your downloads from the terminal or the desktop, not just the web
Pause, resume, stop or retry any download from a terminal, from the desktop tray, or from the website — whichever one you use, the others keep up.
Until now the website was the only place you could touch a download. The machine actually doing the work could not be told anything. Now it can: a full set of commands in the terminal, the same actions in the desktop tray, and the website following along whichever one you reach for.
The reason we went looking is worth telling. Someone cancelled a 56 GB download on the website, removed it from their list, and restarted the agent twice. It kept downloading — there was no way left to stop it from anywhere, and that is the kind of bug that makes you distrust the whole thing. That is fixed too.
Why it could not be stopped
Every instruction the website sends an agent travels attached to the download's entry. Cancelling wrote a flag onto that entry; deleting the entry threw away the only channel left. Meanwhile the agent kept the job in its own restart queue and started it again on every launch.
Now a removed entry leaves a marker behind so the cancel still reaches the machine, and an agent that keeps being told the server has never heard of a download stops it by itself.
New: drive the queue from your own machine
unarr downloads shows what is running. pause, resume, stop and retry do what they say, and stop --delete also clears the partial file.
$ unarr downloads ID STATE PROG SPEED SIZE TITLE 874fd548 downloading 41% 8.4 MB/s 12 GB Reborn.2018.BluRay.1080p.x265 1c9be40a downloading 7% 3.1 MB/s 24 GB Better.Call.Saul.S06E10.2160p 5a97301a paused 0% — 2.1 GB The.Bear.S03E04.1080p.WEB unarr downloads pause|resume|stop|retry <id> (ids may be abbreviated)$ unarr downloads stop 874fd548 ✓ 874fd548 Reborn.2018.BluRay.1080p.x265 — cancelledNo id? Pick from a menu
Copying an id out of one command to paste into the next is busywork, and you reach for these commands precisely when something is misbehaving. So leaving the id out lists exactly the downloads that action can apply to — pause only offers what is running, resume only what is not — and you tick what you want.
--all skips the menu and hits every one of them. Anything irreversible asks first: deleting partial files, or stopping everything at once.
# leave the id out and pick from a menu$ unarr downloads pause Pause which download? (2 available) > [x] Reborn.2018.BluRay.1080p.x265 — downloading 41% of 12 GB @ 8.4 MB/s [ ] Better.Call.Saul.S06E10.2160p — downloading 7% of 24 GB @ 3.1 MB/s SPACE to tick · enter to confirm · esc to cancel ✓ 874fd548 Reborn.2018.BluRay.1080p.x265 — pausedAnd when the agent itself is down
Ids can be shortened to the first few characters. If the agent is not running at all, unarr downloads stop --force still works: it edits the restart queue directly, which is the thing that brings a download back from the dead.
$ unarr downloads resume 874fd548 ✓ 874fd548 Reborn.2018.BluRay.1080p.x265 — resumed$ unarr downloads pause --all ✓ 874fd548 Reborn.2018.BluRay.1080p.x265 — paused ✓ 1c9be40a Better.Call.Saul.S06E10.2160p — paused# agent not running? this is the one that still works$ unarr downloads stop 874fd548 --force ✓ 874fd548 Reborn.2018.BluRay.1080p.x265 — dropped from the resume queue It will not start again.Same actions in the tray, and the website keeps up
The desktop tray now lists your downloads with Pause, Resume, Stop and Stop-and-delete under each one. Whichever surface you use, the others follow: the website updates within a couple of seconds instead of showing a download that ended minutes ago.
Run unarr update to get all of this.
Also fixed
Your agent no longer drops offline because a single job reported an odd status — one unreadable entry used to take the whole heartbeat down with it.
Direct playback is back on the HLS and remux paths, so streams that had started routing the long way round are quick again.
