Giter Site home page Giter Site logo

Comments (8)

appiekap653 avatar appiekap653 commented on September 27, 2024 2

This is related to #961 and is something I have been waiting for.
The whole idea behind Prowlarr is to ease the setup of indexers from one central place and have them automatically updated into the *arr apps.
But when doing so it automatically adds the indexers with a sudden name: Tracker (Prowlarr)

In autobrr the indexers are automatically named: torznab-tracker

Because those two names are not equal issues #961 and #1344 are happening.
Autobrr does add torznab- before the indexer name so it is not possible to change this name in Autobrr.

My only solution so far has been renaming all indexers in all *arr apps to reflect the Autobrr naming of: torznab-tracker , all lower-case

from autobrr.

zze0s avatar zze0s commented on September 27, 2024 2

Hey @bakerboy448 @thezak48 @mynameisbogdan your knowledge is needed here.

We have talked about this a couple of times on Discord but I can't find the previous discussions so lets go over it again here, if you don't mind. Add others with relevant knowledge if needed.

Do I remember correctly that the arrs (at least Radarr and Sonarr) had changes to the release/push endpoint and how it can handle indexer ID passed? Was it only numeric ID or does it take Indexer name as string as well?

We need to map autobrr and arr indexers together somehow.

  1. We could add a new field to autobrr indexer settings like Arr Indexer Name where users can put in the name which if synced via Prowlarr will be like Indexer (Prowlarr), and that works.
  2. The other alternative is to add a numeric ID. That will however be an issue because when Prowlarr syncs to an arr it gets a separate numeric ID, which will be different per arr. Not great if you have 4 arrs (hd and uhd of sonarr and radarr).
  3. We could pass the Prowlarr indexer ID or maybe even the full Prowlarr URL that is synced, like http://prowlarr/3/
  4. Get the individual arr to store the "External Prowlarr Indexer ID" and then we can use that in autobrr to send to release/push
  5. We add a new field to the autobrr indexer definitions that uses the same indexer identifier as the ones in prowlarr so it will be a string match instead of numeric int match? Most indexers in autobrr does follow the Prowlarr indexer identifiers but not all of them. Would this be easiest maybe? Will require changes on all ends but maybe it's viable
  6. This was brought up before: a map of autobrr indexer name to specific arr indexer id. If you have 4x arrs in autobrr you'll need to do setup for each - not my first choice.

I think that's a start, happy to get the discussion going again so we can help our users.

from autobrr.

bakerboy448 avatar bakerboy448 commented on September 27, 2024 2

I'd strongly suggest name over id as it's more flexible of an indexer is unsync'd (deleted) then re-sync'd (added) for any reason as the ID would likely changed

from autobrr.

bakerboy448 avatar bakerboy448 commented on September 27, 2024 1
  1. is the route

Yes looks like name can be detected to map to Starr indexer if the indexer id is 0

https://github.com/Sonarr/Sonarr/blob/dac69445e4ab77fbce093b8dd859390e2e8fef2d/src/Sonarr.Api.V3/Indexers/ReleasePushController.cs#L87-L116

So autobrr just needs to support adding the Starr Indexer name on a per filter-action pairing I think like was done for download clients?

from autobrr.

KyleSanderson avatar KyleSanderson commented on September 27, 2024 1

Set it up last month and forgot about it. Just verified everything this morning and it works flawlessly. Thanks!

The best code, is the code you forget about. Thanks for letting us know.

from autobrr.

appiekap653 avatar appiekap653 commented on September 27, 2024

How about the following flow when adding a new indexer:

  1. Select indexer from pull down menu.

  2. Enter name (for generic only).

  3. Click save.

  4. Get all indexers from *arr and compare them by name to retrieve the correct ID or the correct name.

  5. When multiple found, show a screen to choose the right one (similar to Overseerr when a series can't be matched 100%).

  6. Store the indexer ID or indexer name to be editable from indexer setting screen.

*Remove the hard-coded addition of torznab-'indexername'

from autobrr.

Lokilicious avatar Lokilicious commented on September 27, 2024

Very much interested in this as this is currently the only reason i have autobrr disabled 👍

from autobrr.

kevinpastor avatar kevinpastor commented on September 27, 2024

Set it up last month and forgot about it. Just verified everything this morning and it works flawlessly. Thanks!

from autobrr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.