Skip to content

duncanhoggan/mStream

 
 

Repository files navigation

mStream

mStream is a personal music streaming server. You can use mStream to stream your music from your home computer to any device, anywhere.

mStream Webapp

Demo

Install mStream

The best way to install mStream is to pull the latest version with git and build that. The full instruction for a fresh Ubuntu install can be found here. The quick version is:

git clone https://github.com/IrosTheBeggar/mStream.git
cd mStream
# Install without dev dependencies
npm install --only=production
sudo npm link

mStrean is also available as a pre-compiled EXE for Windows. This version is called mStream Express and can be downloaded from the release page

Running & Configuring mStream

mStream can be run with command mstream. The quickest way to setup mStream is to use command line flags. A full list of command line settings can be seen here

# change port (defaults to 3000)
mstream -p 4999

# setup user
# the login system will be disabled if this isn't set
mstream -u username -x password

# set music directory
# defaults to the current working directory
mstream -m /path/to/music

## lastFM Scrobbling
mstream -l username -z password

mStream can also be configured with a json file. This method allows you to use more advanced configuration options. The config file can be used to setup multiple directories and users. Run this with the command mstream /path/to/config.json

An example config is shown below. You can see the full set of config options here

{
  "port": 3030,
  "database_plugin":{
    "dbPath":"/path/to/mstream.db"
  },
  "folders": {
    "blues": "/path/to/blues",
    "metal": "/path/to/metal"
  },
  "users": {
    "dan": {
      "password":"qwerty",
      "vpaths": ["blues", "metal"]
    },
    "james": {
      "password":"password",
      "vpaths": ["blues"],
      "lastfm-user": "username",
      "lastfm-password": "password"
    }
  }
}

Android/iPhone Apps

mStream is currently adding support for the subsonic API. Once that's done mStream will be accessible by a number of mobile apps

The Docs

All the details about mStream are available in the docs folder

Contributing

About

The easiest music streaming server available

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.7%
  • HTML 24.3%
  • CSS 8.0%