** No password
** Only accessible within the hackerspace network
* HTTP Control: https://mpd.fixme.ch/
* Stats: http://gna.org/projects/mpd-stats
** Run from /etc/rc.local
** Sqlite DB: /home/rorist/.mpd-stats/mpd-stats
* There's a cron job for root to deactive Repeat mode every 15mn
== API ==
* There is a simple mpd api which will get bigger with the time.
* It is used on https://mpd.fixme.ch
*The api is documented on https://mpd.fixme.ch/api
*If you want to participate or add something, just send [[User:gcmalloc|gcmalloc]] a ping.
== Music files ==
For now,
* directory /media/disk1/music
** subdirectory Music
** subdirectory Playlists
** Permissions: sysadmin:sysadmin, dirs=774, files=664
== Clients ==
=== Web ===
* Some members did a custom mpd client: https://mpd.fixme.ch but it's now borken
* Sources: https://github.com/fixme-lausanne/mpd-wsgi
[[Image:mpd.png|200px]]
=== Glurp ===
* Very nice client
== How to upload new music the easy way? ==
* Copy the following code to a script file upload_foo.sh
<pre>
#!/bin/bash -e
ssh -t -p 1337 foo.fixme.ch "mpc update"
</pre>
* Usage:
chmod +x upload_foo.sh
./upload_foo.sh MyDir
== Participant ==
* [[User:Gcmalloc]]
* [[User:Francois]]
== Legacy ==
=== API ===
<s>
* There is a simple mpd api which will get bigger with the time.
* It is used on https://mpd.fixme.ch
*The api is documented on https://mpd.fixme.ch/api
*If you want to participate or add something, just send [[User:gcmalloc|gcmalloc]] a ping.
</s>