https://github.com/egg82/fetcharr

Disclaimer: I am the developer

Long story short, after Huntarr exploded I still wanted an app that did the core of Huntarr’s job: find and fetch missing or upgradable media. I looked around for some solutions but didn’t like them for various reasons. So, I made my own.

No web UI, configured via environment variables in a similar manner to Unpackerr. It does one job and it does it (a little too) well. Even when trying a few different solutions for a few days each, Fetcharr caught a bunch of stuff they all missed almost immediately. This is likely due to the way it weights media for search.

Since you made it this far, a few notes:

  1. I did still use ChatGPT on a couple of occasions. They’re documented and entirely web UI - no agents. Anything it gave me was vetted and noted in the code before publishing.
  2. The current icon is temporary and LLM-generated. I’ve put out some feelers to pay an artist to create an icon. Waiting to hear back.
  3. It’s written in Java because that’s the language I’m most familiar with. SSL certs in Java containers can be painful but I added some code to make it as easy as Python requests or Node
  4. While it still has a skip-if-tagged-with-X feature, it doesn’t create or apply any tags. I didn’t find that portion necessary, despite other popular *arrs using it. Not sure why they do, even after developing this.
  5. Caution is advised when first using it on a large media collection. It’ll very likely pick up quite a number of things initially if you weren’t on top of things beforehand. Just make sure your pipeline is set up well, or you limit the number of searches or lengthen the amount of time between searches using the environment variables.
  • MalReynolds@slrpnk.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    I don’t want to balloon the project

    Fair cop, and no I haven’t really dived into Configarr and the trash guides (although I vaguely remember coming across them), oh joy, another rabbit hole. I do try to keep a simple stack, and what I have has served me well for years. But thanks, no need to reinvent the wheel if that handles my use case.

    Having smaller projects with specific scope that do something well and can be plugged together is always preferable to some sprawling monstrosity. Used to be called the Unix way (pipe sed into awk etc.) and could stand to be revisited today. Best of luck.

    • egg82@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      glad to send someone on another Sunday rabbit hole! To be clear, Fetcharr is essentially automatically hitting the “search” button for you on a few semi-random items in your library. If your profiles are set up well, it will naturally handle the rest itself.

      That said, there is a plan-in-my-head for “plugin” support so I don’t end up shoving a bunch of stuff into one app but still allow anyone to make something they need. If profiles don’t fit your use-case then that’ll be an option at some point in the future.

      • MalReynolds@slrpnk.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        20 hours ago

        So, unless I didn’t dive deep enough, Configarr / Trash guides is mostly about setting up quality profiles and media paths and so forth, something I long ago sorted out to my satisfaction.

        What I guess I was after was something to find stuff that has fallen through the cracks, highlighting stuff that doesn’t meet my standards and seeing whether I care enough to go looking for upgrades.

        Strangely there doesn’t seem to be a simple app to run ffprobe over your library and populate a database for querying video quality, maybe I’ll get around to knocking one out one day, but today is not that day.

        • egg82@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          20 hours ago

          in Media Management (click Advanced) there’s an “Analyze Video Files” option to get more data about your actual files. If I remember correctly this also re-tags downloaded media with your profiles if it was mislabeled. If you already have quality profiles set up and gated (you can add profiles that look for these attributes, like 7.1 or 5.1) then you can simply hit the search button on your media and rely on the *arr app to do the rest. If you don’t want to upgrade stuff that’s already satisfactory to you then you can do the same thing with the “Cutoff Unmet” filter. Fetcharr allows you to do either of these with the new USE_CUTOFF environment variable.

          If you’re looking for ffmpeg media analysis and health checks you can also check out something like tdarr.

          • MalReynolds@slrpnk.net
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            18 hours ago

            Yeah, I have “Analyze Video Files” on, doesn’t get me a list of substandard files though, just sends the arr after stuff it’s probably already not finding.

            tdarr

            Hadn’t seen the Property search in here before, might get me most of the way there. Got it around somewhere, might have to spin it back up. Maybe I can raid it’s database as well. Thanks.