Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.42 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.42 KB

merriman

Bless code style: prettier npm

A media server that runs on node.

Getting started

Install dependencies

  • ffmpeg - This server requires ffmpeg to generate thumbnails, subtitles, and burn tracks. Install ffmpeg and place it in your path.
  • MongoDB - This server requires MongoDB to store media and library information. The easiest way to do this is in a Docker container.

Install and run the server

npm install -g merriman
merriman init movies # create a config file called movies.config.json. tweak as necessary
merriman run movies.config.json

Usage

Running the server

merriman run config.json

Developing

  1. Start an instance of MongoDB.
  2. Install ffmpeg
  3. Create a directory to house uploaded media
  4. Create a directory to house uploaded thumbnails
  5. Configure the connection string, media, and thumbnail paths in the development config
  6. run npm install
  7. run npm run server:watch to start the server
  8. run npm start to start the UI