This is a collection of PowerShell scripts that collect information from Tautulli's API and sends it off to Discord via webhooks.
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.
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:
* * * * * docker exec tautulli2discord pwsh CurrentStreams.ps1 >/dev/null 2>&1
CurrentStreams.ps1
PopularOnPlex.ps1
LibraryStats.ps1
TopPlexStats.ps1
PlexPlayStats.ps1
Probably. Just let me know and I will try to correct.
This one is simple.