You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
403 lines
14 KiB
403 lines
14 KiB
4 years ago
|
# Quick Setup
|
||
4 years ago
|
|
||
4 years ago
|
<sub>Formerly aka Discord Notifier<sub>
|
||
4 years ago
|
|
||
|
------
|
||
|
|
||
|
## Login
|
||
|
|
||
4 years ago
|
First we're going to visit the [Notifiarr](https://discordnotifier.com/index.php){:target="_blank" rel="noopener noreferrer"} site, if you don't have an account yet, click the link to signup.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-login](images/dn-login.png)
|
||
4 years ago
|
|
||
|
1. Your Email address you used during signup.
|
||
4 years ago
|
1. Your Password you created during signup.
|
||
4 years ago
|
1. Login to the site and setup.
|
||
4 years ago
|
1. Password reset if you forgot your password.
|
||
4 years ago
|
1. Signup if you don't have an account.
|
||
4 years ago
|
1. Link to Notifiarr Discord support channel.
|
||
4 years ago
|
|
||
|
------
|
||
|
|
||
|
## Profile
|
||
|
|
||
4 years ago
|
After you have logged in, you will be redirected to your profile screen.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-profile](images/dn-profile.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. Select your `Country`.
|
||
|
1. Select your `Timezone`.
|
||
4 years ago
|
1. Click on `Generate API Key` (This needs to be done).
|
||
4 years ago
|
1. Select your `Notification Language`.
|
||
|
1. Change your `Time Format` to your liking.
|
||
4 years ago
|
1. Don't forget to Save your Changes.
|
||
4 years ago
|
|
||
|
------
|
||
|
|
||
4 years ago
|
## Integration Setup
|
||
4 years ago
|
|
||
4 years ago
|
- Enable the integrations you want to use
|
||
|
- Setup your discord server (required), invite the bot (required) and reactions (optional).
|
||
4 years ago
|
|
||
4 years ago
|
### Integration Settings
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-manage-integration-open](images/dn-manage-integration-open.png)
|
||
4 years ago
|
|
||
|
First, click on `Manage Integrations` so you can enable what you want to receive notifications for.
|
||
|
|
||
4 years ago
|
![!dn-manage-integration](images/dn-manage-integration.png)
|
||
4 years ago
|
|
||
|
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`
|
||
|
|
||
4 years ago
|
Setup which notifications you want to to receive from each option.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-notifcation-settings-radarr](images/dn-notifcation-settings-radarr.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. Cog wheel, this opens the integration settings
|
||
|
1. External link, this opens the website for the integration
|
||
|
1. WIKI link, this opens any extra wiki information available for the integration
|
||
|
1. Trigger, this enables/disables a specific trigger for the integration
|
||
|
1. Channels, this sets the channel in your server to post to for the integration
|
||
4 years ago
|
|
||
4 years ago
|
??? example "Integration Settings (Cog wheel)"
|
||
4 years ago
|
|
||
4 years ago
|
#### Notification Settings Configuration
|
||
4 years ago
|
|
||
4 years ago
|
![!!dn-integration-settings](images/dn-integration-settings.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. [Instructions how to setup the integration](#integrations)
|
||
4 years ago
|
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)
|
||
4 years ago
|
1. Enable so each notification is unique and wont update existing ones.
|
||
|
1. Here you can edit the layout
|
||
4 years ago
|
|
||
4 years ago
|
### Discord Settings
|
||
4 years ago
|
|
||
4 years ago
|
Setup your discord server, shared channels, reactions and invite the bot into your server.
|
||
4 years ago
|
|
||
4 years ago
|
#### Create the channels
|
||
4 years ago
|
|
||
4 years ago
|
First thing to do is create a few channels (in your discord server) where you receive your notifications.
|
||
4 years ago
|
|
||
4 years ago
|
!!! note
|
||
4 years ago
|
I won't be explaining how to setup a discord channel, that's up to you but google has plenty of references.
|
||
4 years ago
|
|
||
4 years ago
|
You can do it all from one channel or separate the notifications (granular) for each trigger if you want.
|
||
4 years ago
|
|
||
4 years ago
|
#### Simple channel setup
|
||
4 years ago
|
|
||
4 years ago
|
`#media` => All the `*arr` notifications you setup in [Notification Settings](#notification-settings).
|
||
4 years ago
|
|
||
4 years ago
|
`#errors` => Health checks, network errors, etc.
|
||
4 years ago
|
|
||
4 years ago
|
`#plex` => Play, resume, etc. for Plex.
|
||
4 years ago
|
|
||
4 years ago
|
After you create the needed channels, it's time to add them to the `Setup the channels`
|
||
4 years ago
|
|
||
4 years ago
|
First we need to get the server ID
|
||
4 years ago
|
|
||
|
Open your User Settings -> Appearance -> Enable Developer Mode.
|
||
|
|
||
4 years ago
|
![!dn-discord-dev-mode](images/dn-discord-dev-mode.png)
|
||
4 years ago
|
|
||
4 years ago
|
Right click on the server name at the top of your discord and press "Copy ID"
|
||
4 years ago
|
|
||
4 years ago
|
??? example "Example right click"
|
||
|
![!dn-discord-copyid](images/dn-discord-copyid.png)
|
||
|
|
||
|
Paste the channel ID in the corresponding boxes
|
||
|
|
||
|
![!dn-channel-paste](images/dn-channel-paste.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. Add your server ID
|
||
|
1. Select the channel ID for the `#media` channel.
|
||
|
1. Use this option if you want to use separate channels for the notifications (see below).
|
||
|
1. Select the channel ID for the `#errors` channel.
|
||
|
1. Select the channel ID for the `#plex` channel.
|
||
4 years ago
|
1. Use this option if you want to use separate channels for the notifications (see below).
|
||
|
|
||
4 years ago
|
??? example "Granular arr setup"
|
||
|
|
||
|
##### Granular arr setup
|
||
|
|
||
4 years ago
|
![!dn-granular-arr-setup](images/dn-granular-arr-setup.png)
|
||
4 years ago
|
|
||
|
??? example "Granular media setup"
|
||
|
|
||
|
##### Granular media setup
|
||
|
|
||
4 years ago
|
![!dn-granular-media-setup](images/dn-granular-media-setup.png)
|
||
4 years ago
|
|
||
|
### Invite the bot
|
||
|
|
||
|
It's time to invite the bot in to your Server/Channels by clicking on the following link.
|
||
|
|
||
4 years ago
|
![!dn-invite-bot-here](images/dn-invite-bot-here.png)
|
||
4 years ago
|
|
||
|
You will get a screen that looks like the following screenshot.
|
||
|
|
||
4 years ago
|
![!dn-invite-bot-discord](images/dn-invite-bot-discord.png)
|
||
4 years ago
|
|
||
|
1. Select the server the bot should join.
|
||
4 years ago
|
1. Click on `Authorize` to approve.
|
||
4 years ago
|
|
||
4 years ago
|
!!! note
|
||
|
You have to be an administrator of the Discord channel to invite bots. Make sure the bot has permissions to post.
|
||
4 years ago
|
|
||
|
??? 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
|
||
4 years ago
|
|
||
4 years ago
|
Name the role Bot and scroll down to Text Permissions.
|
||
4 years ago
|
|
||
4 years ago
|
Enable `Send Messages`, `Embed Links` & `Add Reactions`
|
||
4 years ago
|
|
||
4 years ago
|
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.
|
||
|
|
||
4 years ago
|
![dn-reaction-1](images/dn-reaction-1.png)![dn-reaction-2](images/dn-reaction-2.png)
|
||
4 years ago
|
|
||
|
This section exist of 2 parts.
|
||
|
|
||
|
1. *arr state (grab/failed) and play state of plex.
|
||
4 years ago
|
1. The Trackers/Indexers.
|
||
4 years ago
|
|
||
|
First we're going to download the emoji's and you can do that in 2 ways.
|
||
|
|
||
4 years ago
|
1. 1 at a time - Right click -> Save As... - for these emoji images to some location on your computer.
|
||
4 years ago
|
1. Pack Download - Click [here](https://discordnotifier.com/setup.php?grab=reactions){:target="_blank" rel="noopener noreferrer"} to download a zip of all the current reaction images.
|
||
4 years ago
|
|
||
4 years ago
|
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.
|
||
4 years ago
|
|
||
4 years ago
|
How to add your own Emoji's => [LINK](https://support.discord.com/hc/en-us/articles/360036479811-Custom-Emojis){:target="_blank" rel="noopener noreferrer"}
|
||
4 years ago
|
|
||
|
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:
|
||
|
|
||
|
```bash
|
||
|
\:emoji_name:
|
||
|
```
|
||
|
|
||
4 years ago
|
??? example "Example"
|
||
4 years ago
|
![!dn-emoji-example](images/dn-emoji-example.png)
|
||
4 years ago
|
|
||
|
What results in to.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-emoji-result](images/dn-emoji-result.png)
|
||
4 years ago
|
|
||
4 years ago
|
So your ID would be `:grab:706535455876710461`.
|
||
|
|
||
|
Paste the ID results from your channel in to the corresponding boxes.
|
||
|
|
||
4 years ago
|
![!dn-reaction-paste](images/dn-reaction-paste.png)
|
||
4 years ago
|
|
||
|
Do this for all the other boxes also including your Trackers/Indexers.
|
||
|
|
||
|
#### Trackers and Indexers
|
||
|
|
||
4 years ago
|
![!dn-reaction-indexers](images/dn-reaction-indexers.png)
|
||
4 years ago
|
|
||
|
1. Paste here the the emoji ID.
|
||
4 years ago
|
1. The actual indexer name you're using in Sonarr/Radarr.
|
||
4 years ago
|
|
||
4 years ago
|
??? example "Example"
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-indexer-torznab](images/dn-indexer-torznab.png)
|
||
4 years ago
|
|
||
4 years ago
|
What will result in to.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-indexer-torznab-result](images/dn-indexer-torznab-result.png)
|
||
4 years ago
|
|
||
4 years ago
|
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` !!!
|
||
|
|
||
4 years ago
|
!!! 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
|
||
|
|
||
4 years ago
|
------
|
||
|
|
||
|
## Integrations
|
||
|
|
||
4 years ago
|
Here we will explain how to we add all this to your *arr and Plex.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-integration-settings-link](images/dn-integration-settings-link.png)
|
||
4 years ago
|
|
||
|
### Radarr, Readarr and Lidarr
|
||
|
|
||
4 years ago
|
Radarr, Readarr and Lidarr supports Discord Notifier natively so that's an easy one to add.
|
||
4 years ago
|
|
||
4 years ago
|
`Settings` => `Connect` => click on the ![dn-arr-add-plus.png](images/dn-arr-add-plus.png) `plus` icon and select `Discord Notifier` add your API key and you're done.
|
||
4 years ago
|
|
||
4 years ago
|
??? example "Radarr Example"
|
||
4 years ago
|
In Radarr go to `Settings` => `Connect` => Click on the ![dn-arr-add-plus](images/dn-arr-add-plus.png) `plus` icon and select `DiscordNotifier.com`.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-arr-add-notification](images/dn-arr-add-notification.png)
|
||
4 years ago
|
|
||
4 years ago
|
Then add the following info.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-arr-settings-notification](images/dn-arr-settings-notification.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. The name you want to use for the notification.
|
||
4 years ago
|
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`
|
||
4 years ago
|
|
||
|
### Sonarr
|
||
|
|
||
|
Sonarr doesn't have native support & will not get one per their devs.
|
||
4 years ago
|
That's why we're going to use the webhook method.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-sonarr-instruction](images/dn-sonarr-instructions.png)
|
||
4 years ago
|
|
||
4 years ago
|
`Settings` => `Connect` > Click on the ![dn-arr-add-plus](images/dn-arr-add-plus.png) `plus` icon and select `Webhook`.
|
||
4 years ago
|
|
||
4 years ago
|
Add the following info:
|
||
4 years ago
|
|
||
|
**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**
|
||
|
|
||
4 years ago
|
??? example "Sonarr Example"
|
||
4 years ago
|
|
||
4 years ago
|
`Settings` => `Connect` > Click on the ![dn-arr-add-plus.png](images/dn-arr-add-plus.png) `plus` icon and select `Webhook`.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-sonarr-add-webhook](images/dn-sonarr-add-webhook.png)
|
||
4 years ago
|
|
||
4 years ago
|
Add the following info.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-sonarr-settings-webhook](images/dn-sonarr-settings-webhook.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. The name you want to use for the notification.
|
||
4 years ago
|
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`
|
||
4 years ago
|
|
||
|
### Bazarr
|
||
|
|
||
|
For Bazarr you need to make use of JSON method.
|
||
|
|
||
4 years ago
|
![!dn-bazarr-instruction](images/dn-bazarr-instruction.png)
|
||
4 years ago
|
|
||
|
`Settings` => `Notifications` => and select`JSON`
|
||
|
|
||
4 years ago
|
On the top click on the ![dn-bazarr-edit-icon](images/dn-bazarr-edit-icon.png) `Edit` icon and Enable the notification type.
|
||
4 years ago
|
|
||
4 years ago
|
Add the JSON URL that you copy/pasted from the integrations page.
|
||
4 years ago
|
|
||
|
Scroll up and save
|
||
|
|
||
4 years ago
|
??? example "Bazarr Example"
|
||
4 years ago
|
|
||
|
`Settings` => `Notifications` => and select`JSON`
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-bazarr-add-json](images/dn-bazarr-add-json.png)
|
||
4 years ago
|
|
||
4 years ago
|
On the top click on the ![dn-bazarr-edit-icon](images/dn-bazarr-edit-icon.png) `Edit` icon and Enable the notification type.
|
||
4 years ago
|
|
||
4 years ago
|
Add the following info.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-bazarr-settings-json](images/dn-bazarr-settings-json.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. Enable the JSON Notification.
|
||
4 years ago
|
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`
|
||
4 years ago
|
|
||
4 years ago
|
Don't forget to click on Save on the top of the Bazarr screen.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-bazarr-save-json](images/dn-bazarr-save-json.png)
|
||
4 years ago
|
|
||
|
### Plex
|
||
|
|
||
4 years ago
|
#### URL Webhook
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-plex-instructions](images/dn-plex-instructions.png)
|
||
4 years ago
|
|
||
|
`Settings` => `Webhooks` => click on `ADD WEBHOOK` and add the URL that you can copy/paste from the integrations page and click on `SAVE CHANGES`
|
||
|
|
||
4 years ago
|
??? example "Plex Example"
|
||
4 years ago
|
|
||
|
`Settings` => `Webhooks` => click on `ADD WEBHOOK`
|
||
4 years ago
|
|
||
4 years ago
|
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.
|
||
4 years ago
|
|
||
4 years ago
|
![!dn-plex-settings-webhook](images/dn-plex-settings-webhook.png)
|
||
4 years ago
|
|
||
4 years ago
|
1. Add the URL that you can copy/paste from the integrations page.
|
||
|
2. Click on `SAVE CHANGES`
|
||
|
|
||
4 years ago
|
??? info "Advanced Plex Settings"
|
||
4 years ago
|
|
||
4 years ago
|
### Advanced Plex Settings
|
||
|
|
||
4 years ago
|
![!dn-plex-advanced](images/dn-plex-advanced.png)
|
||
4 years ago
|
|
||
4 years ago
|
#### Python Webhook
|
||
4 years ago
|
|
||
4 years ago
|
<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>
|
||
4 years ago
|
|
||
4 years ago
|
#### All implementations
|
||
4 years ago
|
|
||
4 years ago
|
- 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>
|
||
4 years ago
|
|
||
4 years ago
|
### Snapshots
|
||
|
|
||
|
![!dn-snapshot-setup](images/dn-snapshot-setup.png)
|
||
|
|
||
|
1. Temperature measurement for notifications
|
||
|
1. Alert settings
|
||
|
1. Who to mention when alerts are triggered (role or user)
|
||
|
1. List of existing alerts
|
||
|
1. Option to only get a snapshot notification if there is an alert triggered
|
||
|
|
||
|
## Testing
|
||
4 years ago
|
|
||
4 years ago
|
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).
|
||
4 years ago
|
|
||
4 years ago
|
![dn-test-icons-bar](images/dn-test-icons-bar.png)
|
||
4 years ago
|
|
||
|
Click on the icons to test your notifications.
|
||
4 years ago
|
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](https://discord.gg/AURf8Yz){:target="_blank" rel="noopener noreferrer"} for additional support.
|