• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

cmake/H13-Feb-2016-3325

contrib/H13-Feb-2016-199125

htdocs/H03-May-2022-6,2716,246

src/H03-May-2022-6,7445,347

tools/H13-Feb-2016-161126

.travis.ymlH A D13-Feb-2016251 1913

LICENSEH A D13-Feb-201617.6 KiB341281

README.mdH A D13-Feb-20161.5 KiB5743

ympd.1H A D13-Feb-20161.1 KiB3732

README.md

1[![Build Status](https://travis-ci.org/notandy/ympd.svg)](https://travis-ci.org/notandy/ympd)
2ympd
3====
4
5Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
6
7
8http://www.ympd.org
9
10![ScreenShot](http://www.ympd.org/assets/ympd_github.png)
11
12Dependencies
13------------
14 - libmpdclient 2: http://www.musicpd.org/libs/libmpdclient/
15 - cmake 2.6: http://cmake.org/
16
17Unix Build Instructions
18-----------------------
19
201. install dependencies, cmake and libmpdclient are available from all major distributions.
212. create build directory ```cd /path/to/src; mkdir build; cd build```
223. create makefile ```cmake ..  -DCMAKE_INSTALL_PREFIX:PATH=/usr```
234. build ```make```
245. install ```sudo make install``` or just run with ```./ympd```
25
26Run flags
27---------
28```
29Usage: ./ympd [OPTION]...
30
31 -h, --host <host>          connect to mpd at host [localhost]
32 -p, --port <port>          connect to mpd at port [6600]
33 -w, --webport [ip:]<port>  listen interface/port for webserver [8080]
34 -u, --user <username>      drop priviliges to user after socket bind
35 -V, --version              get version
36 --help                     this help
37```
38
39SSL Support
40-----------
41To run ympd with SSL support:
42
43- create a certificate (key and cert in the same file), example:
44```
45# openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 1000 -nodes
46# cat key.pem cert.pem > ssl.pem
47```
48- tell ympd to use a webport using SSL and where to find the certificate:
49```
50# ./ympd -w "ssl://8081:/path/to/ssl.pem"
51```
52
53Copyright
54---------
55
562013-2014 <andy@ndyk.de>
57