View Single Post
Old 02-15-2012, 10:08 AM   #1
xbqo
Junior Member
xbqo began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: kindle
MPD for Kindle : AAC/FLAC/MP3/OGG/... local and streaming, + Shuffle mode !

//The title is copied from the mplayer post....

It takes me about two days to get a working mpd, so I just put the result here to save others' effort.
You will need launchpad if you don't want to usbnetwork into your kindle.
The binary I compiled *should* support aac/flac/ape/ac3/mp3/ogg/wav/wma/mpc playback (haven't tested all), streaming from http/mms protocol and last.fm (haven't tested), and playing files in zip/bzip2 archives (haven't tested).
The launchpad config file contained in the package should be easy to understand. If you are familiar with mpd, you could add a couple of new commands yourself.

Typical mpd cpu usage is around 5%~10% while playing, if resample is needed, it will go up to like 20%~40%.
If you don't want this, you could change this line in mpd.conf:
Code:
samplerate_converter		"2"
to
Code:
samplerate_converter		"internal"
After you downloaded the package, put mpd/mpc/mpd.conf in 'mpd' directory, mpd.ini in 'launchpad' directory, and then create a '.mpd' directory, it should work.

Feedback is welcome, but I don't guarantee I will fix any of your problems.

Update:
//In case you are not a linux user and/or not familiar with mpd:

If you want to custom your mpd configuration, there is a manual here: http://linux.die.net/man/5/mpd.conf

If you want to know how to use mpc, there is a manual here: http://linux.die.net/man/1/mpc

My launchpad config file actually lacks some important command, like add songs to the playlist:

Code:
mpc ls | xargs mpc add
Attached Files
File Type: gz mpd.tar.gz (2.97 MB, 491 views)

Last edited by xbqo; 02-16-2012 at 11:06 AM.
xbqo is offline   Reply With Quote