1.3.0 • Published 4 months ago

deovr-server v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

Features

  • Automatic DeoVR browser detection
  • Video metadata extraction (resolution, duration, codec, fps)
  • Next/Previous video navigation
  • Direct file serving for non-DeoVR clients
  • Support for MP4, M4V and WebM formats

Command Line Usage

Install globally to use the CLI:

npm install -g deovr-server

CLI Options

  • --port, -p: Set server port (default: 3000)
  • Video directory path

Serve a video directory on port 3000:

deovr-server

Serve the video directory /media/videos on port 8080:

deovr-server -p 8080 /media/videos

Environment Variables

The following environment variables can be used to configure the server instead of CLI arguments:

VariableDescriptionDefault
DEOVR_LIST_PORTServer port3000
DEOVR_LIST_PATHVideo directory path.

Environment variables take precedence over CLI arguments and config file settings.Example usage:

DEOVR_LIST_PORT=8080 DEOVR_LIST_PATH=/videos deovr-server

1.3.0

4 months ago

1.2.0

6 months ago

1.1.0

6 months ago

1.0.0

6 months ago