Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fscorrupt/docker-tautulli2discord
Send Tautulli Stats via Webhook to Discord Channel
https://github.com/fscorrupt/docker-tautulli2discord
Last synced: about 2 months ago
JSON representation
Send Tautulli Stats via Webhook to Discord Channel
- Host: GitHub
- URL: https://github.com/fscorrupt/docker-tautulli2discord
- Owner: fscorrupt
- Created: 2020-08-03T09:16:57.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T19:05:29.000Z (7 months ago)
- Last Synced: 2024-07-08T21:03:38.607Z (3 months ago)
- Language: PowerShell
- Size: 207 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tautulli2Discord
This is a collection of PowerShell scripts that collect information from Tautulli's API and sends it off to Discord via webhooks.# Configuration
I tried to make the scripts as easy to use as possible.The scripts rely on the config.json file.
In order for some scripts to work, you must set `api_sql = 1"` in the Tautulli config.ini file -> It will require a restart of Tautulli.
If you want File Size shown in scripts, make sure to enable this setting in tautulli:
```
Tautulli > Settings > General > and enable -> "Calculate Total File Sizes"After that do a "Refresh Libraries" in Tautulli.
```Information on how to set up a Discord webhook can be found be [here.](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
# Usage
That's it. Once the webhook(s) are created and the variables are filled in properly, you should be able to run the scripts and it send the relevant information to your Discord server/channel.Cron example:
```sudo crontab -e```
add a new line like this:```# Current Streams
* * * * * docker exec tautulli2discord pwsh CurrentStreams.ps1 >/dev/null 2>&1
```# Examples
CurrentStreams.ps1![DiscordCurrentlyStreaming.ps1](https://i.imgur.com/pDA3Tvs.png)
PopularOnPlex.ps1
![PopularOnPlex.ps1](https://i.imgur.com/MpEhVWJ.png)
LibraryStats.ps1
![DiscordLibraryStats.ps1](https://i.imgur.com/ghONij6.png)
TopPlexStats.ps1
![DiscordTopXUsersByMediaType.ps1](https://i.imgur.com/0SNBXA9.png)
PlexPlayStats.ps1
![DiscordPlexPlayStats.ps1](https://i.imgur.com/EQ5kF22.png)
# Issues
Probably. Just let me know and I will try to correct.# Enjoy
This one is simple.