13 KiB
Discord Notifiarr Basic Setup
Formerly aka Discord Notifier
Login
First we're going to visit the Notifiarr{:target="_blank" rel="noopener noreferrer"} site, if you don't have an account yet, click the link to signup.
- Your Email address you used during signup.
- Your Password you created during signup.
- Login to the site and setup.
- Password reset if you forgot your password.
- Signup if you don't have an account.
- Link to Notifiarr Discord support channel.
Profile
After you have logged in, you will be redirected to your profile screen.
- Select your
Country
. - Select your
Timezone
. - Click on
Generate API Key
(This needs to be done). - Select your
Notification Language
. - Change your
Time Format
to your liking. - Don't forget to Save your Changes.
Integration Setup
- Enable the integrations you want to use
- Setup your discord server (required), invite the bot (required) and reactions (optional).
Integration Settings
First, click on Manage Integrations
so you can enable what you want to receive notifications for.
A screen will popup and here you're able to select from which application/service you receive a notification.
When you enabled the ones you want click on Save
Setup which notifications you want to to receive from each option.
- Cog wheel, this opens the integration settings
- External link, this opens the website for the integration
- WIKI link, this opens any extra wiki information available for the integration
- Trigger, this enables/disables a specific trigger for the integration
- Channels, this sets the channel in your server to post to for the integration
??? example "Integration Settings (Cog wheel)"
#### Notification Settings Configuration
![!!dn-integration-settings](images/dn-integration-settings.png)
1. [Instructions how to setup the integration](#integrations)
1. Enable/Disable notification trigger
1. Change color bar for notification trigger
1. Expand trigger to enable/disable message fields
1. Customize the layout for the notification (drag/drop editor to the right in the image)
1. Enable so each notification is unique and wont update existing ones.
1. Here you can edit the layout
Discord Settings
Setup your discord server, shared channels, reactions and invite the bot into your server.
Create the channels
First thing to do is create a few channels (in your discord server) where you receive your notifications.
!!! note I won't be explaining how to setup a discord channel, that's up to you but google has plenty of references.
You can do it all from one channel or separate the notifications (granular) for each trigger if you want.
Simple channel setup
#media
=> All the *arr
notifications you setup in Notification Settings.
#errors
=> Health checks, network errors, etc.
#plex
=> Play, resume, etc. for Plex.
After you create the needed channels, it's time to add them to the Setup the channels
First we need to get the server ID
Open your User Settings -> Appearance -> Enable Developer Mode.
Right click on the server name at the top of your discord and press "Copy ID"
??? example "Example right click"
Paste the channel ID in the corresponding boxes
- Add your server ID
- Select the channel ID for the
#media
channel. - Use this option if you want to use separate channels for the notifications (see below).
- Select the channel ID for the
#errors
channel. - Select the channel ID for the
#plex
channel. - Use this option if you want to use separate channels for the notifications (see below).
??? example "Granular arr setup"
##### Granular arr setup
![!dn-granular-arr-setup](images/dn-granular-arr-setup.png)
??? example "Granular media setup"
##### Granular media setup
![!dn-granular-media-setup](images/dn-granular-media-setup.png)
Invite the bot
It's time to invite the bot in to your Server/Channels by clicking on the following link.
You will get a screen that looks like the following screenshot.
- Select the server the bot should join.
- Click on
Authorize
to approve.
!!! note: You have to be an administrator of the Discord channel to invite bots. Make sure the bot has permissions to post.
??? summary "Bot Setup Help" Right click on your server > Server Settings > Roles
If you have a Bot role you can skip this, otherwise click the + next to ROLES
Name the role Bot and scroll down to Text Permissions.
Enable `Send Messages`, `Embed Links` & `Add Reactions`
Go back to your server, right click on the Media Bot and assign the role of Bot
Reactions
Here we will setup the Discord Notifier reactions(emoji's) that will be shown during a playback in plex, or during a download/import in Sonarr/Radarr.
This section exist of 2 parts.
- *arr state (grab/failed) and play state of plex.
- The Trackers/Indexers.
First we're going to download the emoji's and you can do that in 2 ways.
- 1 at a time - Right click -> Save As... - for these emoji images to some location on your computer.
- Pack Download - Click here{:target="_blank" rel="noopener noreferrer"} to download a zip of all the current reaction images.
For this example, we will be using Pack Download. You'll need download the file and then unpack it somewhere on your computer. After which, you can then add the emoji's to your Discord Server easily.
How to add your own Emoji's => LINK{:target="_blank" rel="noopener noreferrer"}
After you've added them to your Discord Server it's time to get the ID's from your emoji's, to do this go in to one of your channels and type:
\:emoji_name:
What results in to.
![!dn-emoji-result](images/dn-emoji-result.png)
So your ID would be `:grab:706535455876710461`.
Paste the ID results from your channel in to the corresponding boxes.
Do this for all the other boxes also including your Trackers/Indexers.
Trackers and Indexers
- Paste here the the emoji ID.
- The actual indexer name you're using in Sonarr/Radarr.
??? example "Example"
![!dn-indexer-torznab](images/dn-indexer-torznab.png)
What will result in to.
![!dn-indexer-torznab-result](images/dn-indexer-torznab-result.png)
If you use a different name in Sonarr and Radarr just add them with a comma `BeyondHD - Jackett,BHD`.
Don't forget to click on Save Changes
!!!
!!! note After pasting the Emoji's ID in to the box you will notice that the leading colon will disappear nothing to worry about that's per design
Integrations
Here we will explain how to we add all this to your *arr and Plex.
Radarr, Readarr and Lidarr
Radarr, Readarr and Lidarr supports Discord Notifier natively so that's an easy one to add.
Settings
=> Connect
=> click on the plus
icon and select Discord Notifier
add your API key and you're done.
??? example "Radarr Example"
In Radarr go to Settings
=> Connect
=> Click on the plus
icon and select DiscordNotifier.com
.
![!dn-arr-add-notification](images/dn-arr-add-notification.png)
Then add the following info.
![!dn-arr-settings-notification](images/dn-arr-settings-notification.png)
1. The name you want to use for the notification.
1. Enable `On Grab`, `On Import`, `On Upgrade`, `On Health Issue` & `Include Health Warnings`.
1. Add here you API key from Discord Notifier.
1. Click on `Test` to see if it works.
1. If everything is correct click on `Save`
Sonarr
Sonarr doesn't have native support & will not get one per their devs. That's why we're going to use the webhook method.
Settings
=> Connect
> Click on the plus
icon and select Webhook
.
Add the following info:
Name: Discord Notifier
Enable: On Grab
, On Import
, On Upgrade
, On Health Issue
& Include Health Warnings
.
URL: The URL that you can copy/paste from the integrations page.
Click Save
??? example "Sonarr Example"
`Settings` => `Connect` > Click on the ![dn-arr-add-plus.png](images/dn-arr-add-plus.png) `plus` icon and select `Webhook`.
![!dn-sonarr-add-webhook](images/dn-sonarr-add-webhook.png)
Add the following info.
![!dn-sonarr-settings-webhook](images/dn-sonarr-settings-webhook.png)
1. The name you want to use for the notification.
1. Enable `On Grab`, `On Import`, `On Upgrade`, `On Health Issue` & `Include Health Warnings`.
1. Add the URL that you can copy/paste from the integrations page.
1. Make sure this is on `POST`.
1. Click on `Test` to see if it works.
1. If everything is correct click on `Save`
Bazarr
For Bazarr you need to make use of JSON method.
Settings
=> Notifications
=> and selectJSON
On the top click on the Edit
icon and Enable the notification type.
Add the JSON URL that you copy/pasted from the integrations page.
Scroll up and save
??? example "Bazarr Example"
`Settings` => `Notifications` => and select`JSON`
![!dn-bazarr-add-json](images/dn-bazarr-add-json.png)
On the top click on the ![dn-bazarr-edit-icon](images/dn-bazarr-edit-icon.png) `Edit` icon and Enable the notification type.
Add the following info.
![!dn-bazarr-settings-json](images/dn-bazarr-settings-json.png)
1. Enable the JSON Notification.
1. Add the JSON URL that you copy/pasted from the integrations page.
1. Click on `Test` to see if it works.
1. If everything is correct click on `Ok`
Don't forget to click on Save on the top of the Bazarr screen.
![!dn-bazarr-save-json](images/dn-bazarr-save-json.png)
Plex
URL Webhook
Settings
=> Webhooks
=> click on ADD WEBHOOK
and add the URL that you can copy/paste from the integrations page and click on SAVE CHANGES
??? example "Plex Example"
`Settings` => `Webhooks` => click on `ADD WEBHOOK`
On the top right click on the ![dn-plex-settings-icon](images/dn-plex-settings-icon.png) `Settings` icon, and on the left sidebar select `Webhooks`
Click on the middle of the screen on ![dn-plex-webhook-icon](images/dn-plex-webhook-icon.png) and add the following info.
![!dn-plex-settings-webhook](images/dn-plex-settings-webhook.png)
1. Add the URL that you can copy/paste from the integrations page.
2. Click on `SAVE CHANGES`
??? info "Advanced Plex Settings"
### Advanced Plex Settings
![!dn-plex-advanced](images/dn-plex-advanced.png)
#### Python Webhook
<div class="indent-L1 indent-B1">
Python is required for this to work. Make sure your docker solution has it available if running docker.
</div>
#### All implementations
- Open the file and change the variables accordingly.
- There are links in the file comments to help as well
- You can test the script by typing python /path/to/script in your CLI. If the file has a shebang in it (#!python) then you do not need to specify python on the CLI.
##### Docker
- Cloudbox - Has python installed
- Hotio - Has python installed
- LSIO - Does not have python installed
##### Linux
placeholder
##### Unraid
placeholder
##### Windows
placeholder
<div class="indent-L1 indent-B1">
Run the python file so it listens on the specific port.
</div>
Testing
On the bottom of all the instruction you will now have the ability to test your settings. This only tests the connection between the notifier and your discord. You can use the Test in each *arr and that will test the everything (connection wise).
Click on the icons to test your notifications. After going through this tutorial and you still aren't getting notifications in your discord channel from the respective logos, then retry the steps outlined above. If there is still an issue, try asking in the Discord Notifier discord channel{:target="_blank" rel="noopener noreferrer"} for additional support.