cd /path/to/src; mkdir -p build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX_PATH=/usr
make
sudo make install
or just run with ./ympd
ympd
http://localhost:8080
to see the web gui--webport [PORT]
Option.man ympd
or ympd --help
-h, --host HOST connect to mpd at host, defaults to localhost -p, --port PORT connect to mpd at port, defaults to 6600 -w, --webport PORT specifies the port for the webserver to listen to, defaults to 8080 -u, --user username drop privileges to the provided username after socket binding -V, --version print version and exit --help print all valid options and exits
ympd is a lightweight MPD (Music Player Daemon) web client that runs without a dedicated webserver or interpreters like PHP, NodeJS or Ruby. It's tuned for minimal resource usage and requires only very litte dependencies.