Skip to content

okbrown/plex-event-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plex Event Handler

Utilising Plex Media Sever Webhooks Events

Features:

  • Preventing users from pausing, by killing their stream with a warning message
  • Having multiple streams from the same account
  • Ability to create more features based on other webhooks e.g. pause, resume, stop, play, scrobble and rate
  • White list users from being effected by your rules
  • Create or customise warning messages

Requirements

  • Plex Media Server (linux, windows, osx)
  • X-Plex-Token is required! add to in config folder
  • Easier to run on the same machine PMS is on, but if you want to run a another machine update the config to reflect this
  • Node 8 or above

To use

  • npm install
  • npm run dev (runs nodemon for dev purposes)
  • npm run prod

Ideas & Thoughts

  • Integrate Telegram Bot to notify users
  • Separate each media event into routes and add them to individual webhooks, should case Plex ever do this.
  • Add users to a blacklist for multiple violations

Releases

No releases published

Packages

No packages published