Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.61 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.61 KB

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.

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:

* * * * * docker exec tautulli2discord pwsh CurrentStreams.ps1 >/dev/null 2>&1

Examples

CurrentStreams.ps1

DiscordCurrentlyStreaming.ps1

PopularOnPlex.ps1

PopularOnPlex.ps1

LibraryStats.ps1

DiscordLibraryStats.ps1

TopPlexStats.ps1

DiscordTopXUsersByMediaType.ps1

PlexPlayStats.ps1

DiscordPlexPlayStats.ps1

Issues

Probably. Just let me know and I will try to correct.

Enjoy

This one is simple.