Skip to content

CLI service that reguarly polls a running Plex server for newly added titles, and crossposts them in a presentable format to a given Discord webhook

License

Notifications You must be signed in to change notification settings

ashame/plex-update-poster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to plex-update-poster 👋

Documentation License: MIT

Command line service that regularly queries a running Plex instance for new titles, and posts them to a REST API

Configuration

  • Make a copy of data.example.json named data.json and edit values under credentials
  • Credentials - all fields are required

    key value
    imageServerUrl base url to custom image server (ex. https://img.domain.com) - these are for plex-guid items and are uploaded via ssh
    plexServerUrl base url to plex server (ex. https://plex.domain.com:12368)
    plexToken token for making API requests to plex server - refer to section below
    webhookUrl url of Discord webhook to post updates
    sshHostname hostname of ssh server
    sshUsername username to login with
    sshKeyFile /path/to/key for SSH authentication

Obtaining Plex Token

  1. In any modern browser, navigate to the Plex App
  2. Open developer tools or similar, and view the Network tab
  3. Click on any title in the library of target plex server, and filter for any URLs with transcode
  4. Look in the URL for X-Plex-Token

Installation

pip install -r requirements.txt

Usage

python3 __main__.py

Author

👤 Nathan

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Nathan.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About

CLI service that reguarly polls a running Plex server for newly added titles, and crossposts them in a presentable format to a given Discord webhook

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages