Skip to content

Tutorials

Yorn edited this page Sep 23, 2020 · 4 revisions

Quick start for the desktop

checkout, compile and install project:

git clone https://github.com/yorns/audioserver.git
cd audioserver
mkdir build
cd build
cmake ..
# or maybe you need some boost information:
cmake -D BOOST_DIR=/opt/boost/ ..
make -j4
sudo make install

Then you find the directory structure under /var/ or /usr/local/var (depending on your environment):

So if you are on a desktop you want to tweak the configuration a bit:

vi /usr/local/etc/audioserver.json

to be able to start the server with normal user right, change the port and change the base path to use /usr/local/audioserver

"Port": "8080",
"BasePath": "/usr/local/var/audioserver",

now start the server

audioServer /usr/local/etc/audioserver.json

DONE!

import your music library

First, be sure the id3 information are in place (by e.g. easytag).

then you can copy, move or link you audio files to the directory /usr/local/var/audioserver/audioMp3

File or directory names are unimportant. All audio item information is taken from the files ID3 information.

import audio streams

Clone this wiki locally