Sonarr Webhook Integration
When Sonarr imports, upgrades or renames an episode file, your media server sees it as a new file, and the episode loses the title card aura applied. With this webhook, Sonarr tells aura straight away, and aura applies the episode’s title card and its season poster again from your saved set.
Setting Up the Webhook in Sonarr
Section titled “Setting Up the Webhook in Sonarr”-
Generate an API key in aura, under Settings > Authentication > API Key, if you haven’t already. Copy it straight away, it’s only shown once.
-
Open Sonarr and go to Settings > Connect.
-
Click + to add a connection, and choose Webhook.
-
Fill in the connection:
-
Name:
aura, or any name you like. -
Notification Triggers: check On File Import, On File Upgrade and On Rename.
-
Webhook URL:
http://<AURA_HOST>:<AURA_PORT>/api/sonarr/webhook?library=4K%20Series- Replace
<AURA_HOST>with the address of the server aura runs on. - Replace
<AURA_PORT>with the port you open aura on,3000by default. - Replace
4K%20Serieswith the name of the library, with spaces written as%20.
- Replace
-
Method:
POST -
Username: anything. aura doesn’t check it, but Sonarr needs one when a password is set.
-
Password: your aura API key.
-
Tags (optional): only send the webhook for series with these tags.
-
-
Click Test to check that it works, then Save.
Checking It Works
Section titled “Checking It Works”- Upgrade or rename an episode file in Sonarr.
- Open the Logs page in aura. You should see a request from Sonarr.
- After about 10 seconds, aura applies the episode’s title card and season poster again. It waits so Sonarr and your media server can finish with the file first.
- If you’ve turned on the Sonarr Notification in Notifications, you’ll get a notification too.