- cross-posted to:
- selfhosted@lemmy.world
- opensource@lemmy.ml
- selfhosted@lemmy.world
- cross-posted to:
- selfhosted@lemmy.world
- opensource@lemmy.ml
- selfhosted@lemmy.world
I was recently furloughed from work, so in between job applications, I decided to polish off Sonarr support in my Managarr TUI. Thus, I’m very proud to announce the beta release of Managarr with Sonarr support!
TL;DR: Managarr is a TUI and CLI for managing your Servarr instances. As of now, it now supports both Radarr and Sonarr and all the features that are available in the UI are also available in the CLI for scripting and additional automation.
The new version has the following features:
- Wider platform support (Windows, Mac, Linux, x86_64 and arm64)
- View your library, downloads, blocklist, episodes
- View details of a specific series, or episode including description, history, downloaded file info, or the credits
- View your host and security configs from the CLI to programmatically fetch the API token, among other settings
- Search your library
- Add series to your library
- Delete series, downloads, indexers, root folders, and episode files
- Trigger automatic searches for series, seasons, or episodes
- Trigger refresh and disk scan for series and downloads
- Manually search for series, seasons, or episodes
- Edit your series and indexers
- Manage your tags
- Manage your root folders
- Manage your blocklist
- View and browse logs, tasks, events queues, and updates
- Manually trigger scheduled tasks
- Manually trigger scheduled tasks
- And more!
Here’s some screenshots of the Sonarr tab:
Thanks to everyone’s feedback when I first posted the alpha release here, this version sports a handful of additional performance improvements and platform support.
This is now technically in beta, so if anyone encounters any issues, please let me know!
No worries, I look forward to using this in the future :) (though probably rarely, I don’t use my *arr stack often)
Once you have pushed your next release, I’ll submit the package definition I wrote to nixpkgs, currently worked around the ordering by checking out two commits after the tag, but since there’s no rush to push this, I’ll wait for the next release.
That was literally going to be one of the things I was going to ask someone to help me out to do. I wanted to make it available for Nix as well so I have no idea how to write a package definition for it, though I’m sure I could figure it out. I’m seriously stoked you did that! Thanks!
It’s rather simple in good cases, here’s my version:
{ lib, fetchFromGitHub, rustPlatform, perl, }: let pname = "managarr"; version = "0.4.1"; in rustPlatform.buildRustPackage { inherit pname version; src = fetchFromGitHub { owner = "Dark-Alex-17"; repo = pname; rev = "df9bba32cb1628fe0bdf33c71089d7ae085066d4"; hash = "sha256-2KWuqv0nxMc+H+lmuNQ0lbEm5yE2akuZTa7PT5JcvBs="; }; cargoHash = "sha256-hB4uRgVUp6YngMoXqd03U/n+HdlcYdL5bwvTxI4xCLE="; nativeBuildInputs = [ perl ]; meta = { description = "A TUI and CLI to manage your Servarrs"; homepage = "https://github.com/Dark-Alex-17/managarr"; license = lib.licenses.mit; maintainers = [ ]; }; }
Did you happen to have a GitHub action to go with this too? Turns out that refactor took a lot less time than I expected.
No, but I will try to incorporate the nixpkgs update script into it now that the metadata is fixed for the release. I’m not a nixpkgs maintainer (yet) though but usually this is close to automatic.
If you want, you can also submit and maintain the package, or I can put us both as maintainers
Given that I can’t really see what would change in Managarr that would require additional changes in the Nix package, I see no reason not to have us both as maintainers, especially since I don’t currently have Nix installed. (It’s high up on my to-do list, don’t worry! I know I’ll like it!)
Are there any files that would need to be checked into the repo so we can maintain an official package for it?
No,
Cargo.lock
is the only relevant optional one for Rust packages and that is already there, so we should be good. I’ll request it tomorrow if someone else doesn’t beat me to it ;)Sounds good, let me know! Also give me some links to track it too so I can also add it to the repo!
I have opened a pull request at https://github.com/NixOS/nixpkgs/pull/367042, there might be more changes needed as I had an error in the meta section of the package which I rectified according to the reviewers proposed changes. Not sure this is the end of it, but the request is open
Oh and that next release is going to be a minute. I realized a massive race condition bug between the networking thread and event thread that I want to resolve. It’s going to take a minute since I’m going to have to move a good amount of logic from the networking thread to the even thread to send parameters to the networking channel. So the next patch will be that fix, the release fix, and the dynamic UI based on the config. If you want, I can ping you when I’m going to do it so you can open your MR and we can get the Nix package into the next release.