Difference between revisions of "MPD Daemon"
From Fixme.ch
Line 4: | Line 4: | ||
=== Glurp === | === Glurp === | ||
* Very nice client | * Very nice client | ||
− | * Click on PL to open tabs and go to config, just add | + | * Click on PL to open tabs and go to config, just add mpd.fixme.ch and there you go |
[[File:Glurp.png]] | [[File:Glurp.png]] | ||
Line 15: | Line 15: | ||
num_profiles = 1 | num_profiles = 1 | ||
names[0] = Foo | names[0] = Foo | ||
− | hosts[0] = | + | hosts[0] = mpd.fixme.ch |
ports[0] = 6600 | ports[0] = 6600 | ||
passwords[0] = | passwords[0] = | ||
musicdirs[0] = #should be changed to your $HOME | musicdirs[0] = #should be changed to your $HOME | ||
</pre> | </pre> | ||
+ | |||
+ | === MPDDroid === | ||
+ | * A nice mpd client for android. A configuration panel will pop enter the same information as the other client, and voila. | ||
== API == | == API == |
Revision as of 12:09, 28 June 2012
- Part of the Internal_Server
Connect to MPD
Glurp
- Very nice client
- Click on PL to open tabs and go to config, just add mpd.fixme.ch and there you go
Sonata
- Sonata crash when people make a full update of the library, apart from this the client is still usable.
- Configuration for the Sonata client
- .config/sonata/sonatarc
[profiles] num_profiles = 1 names[0] = Foo hosts[0] = mpd.fixme.ch ports[0] = 6600 passwords[0] = musicdirs[0] = #should be changed to your $HOME
MPDDroid
- A nice mpd client for android. A configuration panel will pop enter the same information as the other client, and voila.
API
There is a simple mpd api which will get bigger with the time. If you want to participate or add something, just send gcmalloc a ping.
for the time those are the avalable option :
- http://mpd.fixme.ch/api/next :go to the next song in the playlist
- http://mpd.fixme.ch//api/previous :go to the previous song in the playlist
- http://mpd.fixme.ch :information on the current track
- http://mpd.fixme.ch/api/file :download the current file
- http://mpd.fixme.ch/stats :return general stat on the mpd daemon
The return data is either a json or a "None" string if an issue occured on the server side. The file is a binary stream format.
Music files
For now,
- directory /media/disk1/music
- subdirectory Music
- subdirectory Playlists
- Permissions: sysadmin:sysadmin, dirs=774, files=664
Input file should go into the ftp or using the nfs in /free_for_all/Music