plex-admin
A system to manage a media center ecosystem
Capabilities
- When was the most recent episode, and do we have it?
- When is the next episode?
Requirements
Working web server that allows:
- CGI access
- authentication and authorization (strongly recommended)
- SSH access to a UNIX-like shell environment with
/bin/sh
and common
utilities
NB: Web server configuration is complex and not described in this project.
However, information regarding recommended settings that may be applicable is
included in the related
seedhost-apache repository.
Installation
git clone https://github.com/therealchjones/plex-admin
into a temporary
directory of your choice
- Enable the web server authorization and authentication method of your choice
- Protect the path api/index.cgi via authentication and/or authorization on the
server
- Configure the web server to run api/index.cgi as a CGI script rather than to
serve the file contents
- Choose a directory not accessible to any web server visitors but accessible
to api/index.cgi that will house admin-secrets.sh
- Edit variables in admin-secrets.sh and deploy.sh as needed
- Run deploy.sh to move files to the server
Development
git clone https://github.com/therealchjones/plex-admin
into a development
directory of your choice
- Configure web server as desired
- Copy admin-secrets.sh to admin-secrets_local.sh and deploy.sh to
deploy_local.sh
- Edit variables in admin-secrets_local.sh and deploy_local.sh as needed
- Run deploy_local.sh to move files to the server
- Add appropriate Node.js modules (
npm install
) and VS Code extensions as desired
- Edit source files in the
plex-admin/
directory hierarchy as desired
- Repeat steps 5-6 as desired
- Submit pull request as desired
Development Notes
- Comments are important and plentiful. Read them. Write more.
- Neither Node.js/npm nor Visual Studio Code and its recommended extensions are
required for development. However, using them can improve code quality and
style standardization for this project. Configuration files are included.
Copyright
CC0