Plex has a neat feature of giving any media a rating, 0-5 stars, BUT managed users cannot see what other managed users rated a particular piece of content. Tautulli handles almost every possible Plex trigger for notification agents, with the exception of these user ratings which DO have a payload in Plex webhooks. Since I already have a Discord #plex channel webhook for PMS updates, having an embed send user ratings as they happen is a great way to keep up with what other users think of certain movies/shows and get conversation started!
$ cd plex-ratings-dischook && docker build -t plex-ratings-dischook:0.0.1 .
First, you have to pick a port for the Flask App to run on. I am using port 3000
in the
command below:
docker create \
--name=plex-ratings-dischook \
-e PGID=<gid> -e PUID=<uid> \
-e TZ=<timezone> \
-e FLASK_RUN_PORT=3000 \
-e IMGUR_CLIENT_ID=<imgur_client_id> \
-e DISCORD_WEBHOOK=<webhook_url> \
-e PLEX_HOSTNAME_PORT=<hostname:port> \ /* (i.e. http://172.0.0.1:32400) */
-e X_PLEX_TOKEN=<xplextoken> \
-p 3000:3000 \
plex-ratings-dischook:0.0.1