mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-22 21:07:18 +00:00
Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS. Updated and somewhat fixed fork.
5abfdfda7b
init script: depend on $remote_fs instead of $local_fs. Reason: /usr can be mounted a remote filesystem. Also depend on mpd (instead of $mpd, which doesn't seem to exist.. at least on my system) Also provide a default config (which should be installed as /etc/default/ympd) This commit makes the systemd unit file as well as the init script load values from this configuration file so the user can change ympd settings easily when running it as a service. |
||
---|---|---|
cmake | ||
contrib | ||
htdocs | ||
src | ||
tools | ||
.drone.yml | ||
CMakeLists.txt | ||
LICENSE | ||
README.md | ||
ympd.1 |
ympd
Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
Dependencies
- libmpdclient 2: http://www.musicpd.org/libs/libmpdclient/
- cmake 2.6: http://cmake.org/
Unix Build Instructions
- install dependencies, cmake and libmpdclient are available from all major distributions.
- create build directory
cd /path/to/src; mkdir build; cd build
- create makefile
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
- build
make
- install
sudo make install
or just run with./ympd
Run flags
Usage: ./ympd [OPTION]...
-h, --host <host> connect to mpd at host [localhost]
-p, --port <port> connect to mpd at port [6600]
-w, --webport [ip:]<port> listen interface/port for webserver [8080]
-u, --user <username> drop priviliges to user after socket bind
-V, --version get version
--help this help
Copyright
2013-2014 andy@ndyk.de