Skip to content

v0.5

Latest
Compare
Choose a tag to compare
@PCJones PCJones released this 23 Apr 20:03
· 5 commits to master since this release
81dae8c

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

  1. In Prowlarr, go to Settings > Indexers.
  2. Create a new HTTP Proxy.
    Image
    Note: Depending on your setup instead of umlautadaptarr you might need to use localhost as host
    Leave the username and password fields blank.
  3. Go to Indexers.
  4. For all indexers that should use UmlautAdaptarr:
    • Add the umlautadaptarr tag.
    • Important: Change the URL from https to http. For example, if your indexer URL is https://coolnzbs.com, change it to http://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.)
  5. (Optionally) You can click Test All Indexers afterwards. If you still have https somewhere, you will see a warning in the UmlautAdaptarr logs. I recommend doing this or double-checking that you use http because the indexer will work just fine with https, 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

Full Changelog: v0.4.1...v0.5