OpenWrt Forum Archive

Topic: Mpd under kamikaze 8.09

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm using mpd without problems with kamikaze 7.09. But under 8.09 don't works (2.4 and 2.6 too).

opkg install mpd, change paths in config, etc., then start:

mpd: can't load library 'libshout.so.3'

Ok, opkg install libshout ->

mpd: can't load library 'libvorbis.so.0'

Ok, opkg install libvorbis ->

mpd: can't load library 'libtheora.so.0'

Ok, opkg install libtheora ->

mpd: can't load library 'libspeex.so.1'   ( I'm going crazy )

Ok,  opkg install libspeex

mpd: can't load library 'libavformat.so.52'

But i can't find libavformat package in any repository. What can i do?

Anybody successfully running mpd under 8.09?

(Last edited by LaySoft on 15 Mar 2009, 19:58)

Hello
It seems that there is an error in the configure parameters of mpd
I build my own mpd package and it works as usual.

Here you can download my package. Its compiled only with alsa support (no oss)
http://rapidshare.de/files/46141015/mpd … a.ipk.html

Thank you for your package, i put into  /tmp and try:

root@LaySoft:~# opkg install /tmp/mpd_0.14-1_mipsel_with.alsa.ipk   
Multiple packages (mpd and mpd) providing same name marked HOLD or PREFER.  Using latest.
Installing mpd (0.14-1) to root...
Collected errors:
* Package mpd md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.

Ok, i installed dependencies:

opkg install libflac
opkg install libid3tag
opkg install libmad
opkg install libvorbisidec
opkg install libiconv
opkg install glib2

Then i removed openwrt repository, and install your package successfully. (I'm sure is there any simple way to install multiple packages, but i don't know.) Edit mpd.conf and start. Mpd plays music, but only recognized mp3 files, flac not. In the log only this:

Mar 16 20:46 : can't find alsa mixer_control "PCM"
Mar 16 20:46 : using software volume

I don't understand this, because In the config i enabled alsa mixer:

mixer_type                      "alsa"
mixer_device                    "default"
mixer_control                   "PCM"

What i doing wrong?

I had the same issue and installed kloud's mpd package. But then mpd couldn't play internet radio streams. I guess it was compiled without support for this.

Anyway, I fixed it by reinstalling the mpd from the official reps. To get libavformat, you just have to install the package ffmpeg. I also still get the error about the mixer, but the volume control in mpd works, so I guess it doesn't matter.

Good luck.

@thomaslundgaard: yes the package is compiled without support for streams. thanks for the solution for the original mpd package

I have also the same problem with the alsa mixer - and I have no idea for a solution..

I've found the solution for this error with the volume control of mpd

Mar 16 20:46 : can't find alsa mixer_control "PCM"
Mar 16 20:46 : using software volume

It's very simple: The name of the mixer control is wrong, so mpd can't find it.
The right name for me is "Speaker"
you can find the mixer name with the command: amixer

So the right mpd.conf is
mixer_type                      "alsa"                                         
mixer_device                    "default"                                     
mixer_control                   "Speaker"

The discussion might have continued from here.