Use Plex webhooks to display desktop notifications and control playback with media keys
  • JavaScript 100%
Find a file
2017-07-05 17:36:58 +01:00
.gitignore First commit. 2017-02-01 20:48:15 -10:00
index.js A program to control Plex media playback 2017-07-05 16:18:08 +01:00
isPlaying A program to control Plex media playback 2017-07-05 16:18:08 +01:00
package-lock.json A program to control Plex media playback 2017-07-05 16:18:08 +01:00
package.json A program to control Plex media playback 2017-07-05 16:18:08 +01:00
README.md Update README.md 2017-07-05 16:42:16 +01:00

In order to run this app:

Then run the app as follows:

$ TOKEN=api-token PLAYER=client-identifier-to-control OPTION=[option] node index.js

Where option is one of: play pause next back

Finally, add the webhook to https://app.plex.tv/web/app#!/account/webhooks (it'll be http://localhost:10000). (webhooks are currently broken as the program terminates after running the script)