Wichtig! Unbedingt Lesen - Breaking Changes
Important! Must read - Breaking Changes
Changelog
DE:
- Refactoring der Optionen und der Konfiguration (unter Verwendung des IOptions-Musters). Dies erfordert eine Änderung der Umgebungsvariablen. Unbedingt die unteren Anweisungen lesen.
- Es ist nicht mehr notwendig, Variablen für *arr-Instanzen anzugeben, die nicht verwendet werden.
- Es ist jetzt möglich, einen Proxy anzugeben, den UmlautAdaptarr bei Anfragen an Indexer verwendet.
- Zeitstempel zum Log hinzugefügt (nur für @schumi4 #6).
- Das Zwischenspeichern (Caching) von Anfragen wurde von 5 auf 12 Minuten verlängert.
- Lokale IPv6-Unterstützung wurde hinzugefügt.
- Es gibt eine neue Möglichkeit, UmlautAdaptarr zu Prowlarr hinzuzufügen. UmlautAdaptarr kann nun als HTTP-Proxy fungieren, der in Prowlarr konfiguriert werden kann. Wenn du mehr als 2-3 Indexer nutzt, wird dies deine Anfragen erheblich beschleunigen (im Vergleich zu der bestehenden Möglichkeit, UmlautAdaptarr zu verwenden), da Prowlarr nicht mehr alle Anfragen als an denselben Host gerichtet ansieht (was bisher dazu führte, dass Prowlarr jeweils nur einen Indexer nach dem anderen abgefragt hat, anstatt alle gleichzeitig).
Neue Umgebungsvariablen
ACHTUNG! Die Umgebungsvariablen müssen geändert werden:
Ersetze "_" mit "__" in der Docker konfiguration. Außerdem wird aus API_KEY APIKEY.
Beispiel:
- SONARR__ENABLED=true
- SONARR__HOST=http://localhost:8989
- SONARR__APIKEY=API_KEY
Umgebungsvariablen, für *arrs, die du nicht nutzt (z.B. Readarr oder Lidarr) müssen nicht mehr angegeben werden.
Eine komplette Beispielkonfiguration findest du hier.
UmlautAdaptarr als HTTP Proxy in Prowlarr hinzufügen
Das ist kein muss, beschleunigt die Suche aber wie gesagt bei mehreren Indexern erheblich.
Die Anleitung dafür findest du in hier.
EN:
A big thanks to @xpsony for the great refactoring of the Program.cs, options, and adding proxy support:
- Restructured options & configuration (using the IOptions Pattern). This requires a change in variable names. Be sure to read the instructions below.
- It is no longer necessary to provide variables for *arr instances that are not being used.
- Added an option to specify a proxy which UmlautAdaptarr will use in its requests to indexers.
- Added timestamps to the log (just for @schumi4 #6).
- Prolonged request caching from 5 to 12 minutes.
- Added local IPv6 support.
- There is also a new way to add UmlautAdaptarr to Prowlarr. UmlautAdaptarr can now act as an HTTP proxy, which can be configured in Prowlarr. If you have 3+ indexers, this will significantly speed up your requests (compared to the existing way of using UmlautAdaptarr) because Prowlarr no longer perceives all requests as going to the same host (which previously resulted in Prowlarr only sending out a request to one indexer at a time).
New environment variables
IMPORTANT! Breaking Changes:
Replace "_" with "__" in your Docker configuration. Also, API_KEY becomes APIKEY.
Example:
- SONARR__ENABLED=true
- SONARR__HOST=http://localhost:8989
- SONARR__APIKEY=API_KEY
Environment variables for *arrs you are not using are no longer necessary.
You can find a complete base config here.
Add UmlautAdaptarr as HTTP Proxy in Prowlarr
- In Prowlarr, go to Settings > Indexers.
- Create a new HTTP Proxy.
Note: Depending on your setup instead ofumlautadaptarr
you might need to uselocalhost
as host
Leave the username and password fields blank. - Go to Indexers.
- For all indexers that should use UmlautAdaptarr:
- Add the
umlautadaptarr
tag. - Important: Change the URL from
https
tohttp
. For example, if your indexer URL ishttps://coolnzbs.com
, change it tohttp://coolnzbs.com
. (To the experts: This is needed to make it possible for the UmlautAdaptarr to intercept the requests locally. Outgoing requests to the indexer will use https of course.)
- Add the
- (Optionally) You can click
Test All Indexers
afterwards. If you still havehttps
somewhere, you will see a warning in the UmlautAdaptarr logs. I recommend doing this or double-checking that you usehttp
because the indexer will work just fine withhttps
, but UmlautAdaptarr will not be able to do anything for that indexer.
Contributions
- Added Proxy Support, Implemented IOptions Pattern, Introduced Extensions Method by @xpsony in #15
- Update README.md by @Br33ce in #18