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.
    • egg82@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      32
      ·
      7 months ago

      it’s today’s trend! One I happen to agree with, which is nice.

      I’m trying to limit LLM exposure on this one to “as little as possible, within reason”. It’s still a tool and can be used effectively in some areas.

      • irmadlad@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        ·
        7 months ago

        My only real conundrum with AI coding, is totally relying on AI as the dev, then releasing it for public use without really knowing what happens behind the scenes and obviously the security of said app. Now if the dev is using AI as an assistant, and the dev is knowledgeable enough to know that things are operating securely, I’m ok with it.

        • hzl@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          7 months ago

          Yeah, there’s a version of using AI to help with coding that’s more along the lines of cobbling together pieces from tutorials to figure out how to do something and making it fit your needs rather than just straight up asking for code and blindly adding it. It’s obviously not going to be as good as code from someone experienced who’s managed to internalize the relevant documentaion, but it’s at least informed by a human who understands what it’s doing

        • reabsorbthelight@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          7 months ago

          Also people who think they can just vibe code without ever learning how to code for real. I’ll “vibe code”, but I’m also 10+ years experienced. I can quickly detect bullshit from the AI and I check pretty thoroughly.

          Some dentist turned vibe coder will make absolute trash

          • irmadlad@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 months ago

            We have IDEs and all kinds of tools to help us code. AI is just another tool. Granted, it’s a tool that needs some heavy regulation, but a tool nonetheless.

              • irmadlad@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                7 months ago

                n ot everything the AI companies try to tell us

                Of course not. They are sales. They are trying to maximize the profit potential to their investors. I do believe that if we could get some oversight and regulation, as much as I chafe against regulation…it’s necessary, and get past this novelty stage of AI Rice Cookers, I think AI does have a lot of potential.

  • hesh@quokk.au
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    7 months ago

    Since Sonarr et al already find/upgrade missing media, how does this fit with them? Is it finding stuff they miss? Or does this replace them?

    • egg82@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      7 months ago

      That’s an interesting point. In my years of running them all I’ve always needed a third-party something to upgrade or find missing media. I don’t exactly know why the built-in systems don’t work, but they genuinely do not seem to. I’ll occasionally see a scan go off but, for some reason, nothing ever gets picked up.

      So, yeah; long story short, the built-ins don’t work and I don’t know why and this was still easier than trying to figure it out.

      Edit: if you’re curious, give Fetcharr a try and let me know if it does anything for you. It’s free and takes a couple minutes. It should be pretty immediate, if your experience ends up being anything like mine.

      • hesh@quokk.au
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        7 months ago

        Just to add, I didnt mean to put down this software at all – I’m always a fan of more self hosting. I just remember reading people using Huntarr alongside a full *arr stack and was curious how it fits.

        • egg82@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          absolutely! As with everything, try it out and see if it fits. Personally, I prefer apps that do their job well, and as few of them running as possible. If you don’t think it’ll be useful or try it out and find that it’s not, then that’s for the best. It means you’re good to go without any extra hangers-on. I tried the app as I was developing it and not only found it useful to myself, but it worked so well for me that I thought it might be useful to other people as well.

    • minoche@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      7 months ago

      It’s for movies and tv to “find and fetch missing or upgradable media.” Huntarr was the go-to app but it had security concerns and the maker’s responses were negatively received. In the last couple of weeks, some people have presented AI slop replacements for Huntarr.

    • egg82@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      yep! If your arr stack already does what you want then I don’t really recommend adding more to it for the sake of doing so. The issue I have (and maybe it’s a layer 8 problem) is that mine does not. At least not as well as I want. If Sonarr ever did find anything on its own I never saw it, and while developing Fetcharr I definitely grabbed a few movies I was missing. It definitely seems like I’m not alone in this issue so I think it’ll be helpful for folks.

      If you want, try it out and see if it does anything for you. If you think it’ll be helpful or a good replacement than great! If you find that you already have everything you need then that’s even better.

      • McWizard@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        #Radarr curl -X POST “http://localhost:7878/api/v3/command”
        -H “X-Api-Key: YOUR API KEY”
        -H “Content-Type: application/json”
        -d ‘{“name”: “missingMoviesSearch”}’

        This does it for me. I have this in a cronjob together with one for sonarr and it starts the active search of the arrs.

        • egg82@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          That’s great! A cronjob can be effective if your indexer doesn’t mind the extra strain or you have a small library.

    • egg82@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      7 months ago

      that’s a decent point. Not everyone knows about the Huntarr saga (Reddit link but that’s where the story broke) and what it did.

      The idea is that you’ll occasionally want to go through all your media and make sure it’s the best quality available and that nothing’s missing. New releases get published, remuxes sometimes fix issues, etc. This little CLI container goes through and periodically searches everything you connect it to, so you don’t have to sacrifice hours of your weekend doing manual hunting.

      Edit: as a couple have pointed out this is supposed to happen automatically with built-in searches. In my experience this isn’t the case but ymmv and if what you’ve got works for you then that’s great!