https://github.com/robcalcroft/plex-webhook-recently-added
:link: Runs webhooks with recently added items from your Plex server
https://github.com/robcalcroft/plex-webhook-recently-added
plex recently-added webhook
Last synced: about 1 month ago
JSON representation
:link: Runs webhooks with recently added items from your Plex server
- Host: GitHub
- URL: https://github.com/robcalcroft/plex-webhook-recently-added
- Owner: robcalcroft
- License: mit
- Created: 2017-03-05T21:59:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T14:24:48.000Z (over 7 years ago)
- Last Synced: 2025-03-24T17:22:09.093Z (2 months ago)
- Topics: plex, recently-added, webhook
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# plex-webhook-recently-added
> :link: Runs webhooks with recently added items from your Plex server## Install
1. Clone the repo
2. `yarn`
3. Use `.env-sample` to create your own `.env`
4. Use `cron` to run the task every `X (days|minutes|hours etc)` along with configuring the `UPDATED_AT_FILTER_VALUE` and `UPDATED_AT_FILTER_UNIT` to match. Run with `./plex-webhook-recently-added.js`
5. Configure your webhook(s) to receive the JSON payload and do with it what you will### JSON Payload
```javascript
[
"Movie Name Here",
"Movie Name Here 2",
"Movie Name Here 3",
"TV Show Name Here Season 1",
"TV Show Name Here Season 2",
"TV Show Name Here Season 3"
]
```## Telegram Bot
A prime example for using these webhooks is in a Telegram Bot, you can use https://gist.github.com/robcalcroft/4aee25941db5b48d641348076d5369d8 to run your own one that will notify users once they have run `/start` in Telegram.