plexWatch - Slack Webhook integration

other-dev

#1

Has anyone added capability to plexWatch for posting to a Slack channel through their webhook integration?

I love using plexWatch and thought it would be cool to have a slack channel dedicated to receiving the information. Then anyone with access to the channel can see activity on the Plex server.


#2

+1 Was just looking for this as well.


#3

For anyone that is interested and has the know-how, here is the link to Slack's page which talks about how it works:
https://api.slack.com/incoming-webhooks


#4

A good friend helped me out and we got the webhooks integration for slack to work. He is most likely going to do a pull request to see if we can get the new functionality merged into the main code repository, but for now he made a copy of it here: https://github.com/zzanger/plexWatch

The relevant changes are in config.pl and plexWatch.pl. You'll need to get your webhooks URL for slack and enter it in config.pl


#5

@nateshaw Actually logged in to say, your edits worked great, only took a tiny bit of fiddling, and now have output into my slack team.

THANK YOU.


#6

Wow, this is great ! I got it working with a minimum of fuss. Thanks so much for sharing !


#7

Might be interesting to you guys, there's a Slack example ~ https://support.plex.tv/hc/en-us/articles/115002267687


#8

hey @elan , thanks for sharing the slack integration on github! I've got this working, but is it possible to control which Plex events trigger a slack payload?

Would be cool if the Plex webhooks generated an added media hook too, instead of having to use zzanger's project above!


#9

@seanecoffey said:
hey @elan , thanks for sharing the slack integration on github! I've got this working, but is it possible to control which Plex events trigger a slack payload?

Not at the moment, right now it's "all of them" and the recipient is expected to filter.

Would be cool if the Plex webhooks generated an added media hook too, instead of having to use zzanger's project above!

It's the one everyone asks for :)


#10

For the webhooks in plex do you just have it pushed to the heroku app url?