pri

plex-random-intro-video

Tiny app for serving up a random video intro. Intended for use with Plex.

Showing:

Popularity

Downloads/wk

4

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

4

Size (min+gzip)

248.8KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Random Video Intro for Plex

Meant for personal use only, hence the lackluster documentation.

Purpose:

Serve a random video file over HTTP to use with Plex Cinematic Trailers. Allows you to populate a folder (location configurable via env var) with intro videos which will be accessible over HTTP. When visiting the exposed URL, a random file from the configured directory will be served.

The URL can be used within the Plex settings as the URL to use for custom cinematic intro.

Usage:

Set env var INTRO_VIDEO_DIR to the directory where your video files are located. Note that this doesn't do anything clever with regards to the files in that folder. It's up to you to make sure everything in that folder is a valid video file (no support for sub-folders).

npm start or ideally use with forever.

Server will run on http://localhost:3000 (or whatever port you've configured; see below).

Config:

INTRO_VIDEO_DIR - required - Directory where intro videos are located.

INTRO_VIDEO_PORT - default: 3000 - Port that the application will run on.

INTRO_VIDEO_ALLOWED_EXTS - *default: ".m4v" - Allowed file extensions the app will serve. Use comma separate values to specify alternatives.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100