https://github.com/plexinc/webhooks-notifications
Use Plex webhooks to display desktop notifications and control playback with media keys
https://github.com/plexinc/webhooks-notifications
plex webhooks
Last synced: 7 months ago
JSON representation
Use Plex webhooks to display desktop notifications and control playback with media keys
- Host: GitHub
- URL: https://github.com/plexinc/webhooks-notifications
- Owner: plexinc
- Created: 2016-12-26T23:31:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T10:29:26.000Z (almost 2 years ago)
- Last Synced: 2024-12-11T18:43:35.197Z (over 1 year ago)
- Topics: plex, webhooks
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 121
- Watchers: 54
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
In order to run this app:
- Install [node.js](https://nodejs.org/en/).
- Clone the repository.
- Install dependencies using `npm install`.
- Get an API token using [these instructions](https://forums.plex.tv/discussion/129922/how-to-request-a-x-plex-token-token-for-your-app/p1).
- Figure out the identifier of the player you want to control by hitting https://plex.tv/api/resources.xml?auth_token=api-token and grab the `clientIdentifier` value for the player.
Then run the app as follows:
```
$ TOKEN=api-token PLAYER=client-identifier-to-control node index.js
```
Finally, add the webhook to https://app.plex.tv/web/app#!/account/webhooks (it'll be http://localhost:10000).