mpd update
#1
Posted 1 February 2012 - 18:24
I have tried to install mpd (music player daemon) , which is part of the actual PLI repository, but I got error because of unresolved dependencies:
-------------------------------------------------------------------------------------------
opkg install mpd
Installing mpd (0.15.9-r2) to root...
Downloading http://downloads.pli...9-r2_mipsel.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for mpd:
* libfaad0 (>= 2.0) * libavutil50 (>= 0.6.1) *
* opkg_install_cmd: Cannot install package mpd.
--------------------------------------------------------------------------------------------------------
The version of mpd in the actual repository is 0.15.9-r2 which is not the newest.
The last stable version of mpd is 0.16.6. I have checked the dependencies of version 0.16.6 and figured out, that this version requires libfaad2 and libavutil49 instead of libfaad0 and libavutil50.
Both packages (libfaad2 and libavutil49) are part of the actual PLI repository.
So if the mpd package would be replaced by the version 0.16.6, the dependency issues should by solved and mpd should be installable in the actual openpli.
Please could somebody update the mpd package in the openpli repository?
Thanks and best regards,
Saeckel
Re: mpd update #2
Re: mpd update #3
Re: mpd update #4
Re: mpd update #5
Posted 2 February 2012 - 21:30
opkg install mpd
Thanks to MiLo
A mpd client can sucessful connect with the mpd server, all functions works (as far as I have tested)
But unfortunately I have no sound. I asume that somthing is wrong with the configuration of the audio output, but i don't know what up to now.
Re: mpd update #6
Posted 3 February 2012 - 19:40
I don't know where mpd came from, but is was never built from the OpenPLi repository. As it is currently, it depends on Gnome, X11, udev, and various other components that we don't have.
No not realy, mpd wasn´ t build for desktop systems, so no X-server or GUI is needed at all > http://packages.debian.org/wheezy/mpd ;-)
Other E2 immages, like newnigma2 has it also in his repository, and its goot to see it in pli images now too, so thx for adding
Re: mpd update #7
Posted 13 February 2012 - 07:49
However adding a song to MPD is not working it aborts with following error:
2012-02-13 07:40:38 [admin] (mpd_add) -> Error: Unable to add http://server/ampach...- Take Time.mp3 to MPD SendCommand: MPD Error: ACK [50@0] {add} unsupported URI scheme
I guess HTTP streaming is not compiled into MPD version. Is it possible to add??
Re: mpd update #8
Posted 13 February 2012 - 08:18
"Include config.h in ls.c to have HAVE_CURL here."
-> http://www.musicpd.o...hp?topic=1804.0
Re: mpd update #9
Re: mpd update #10
Posted 19 February 2012 - 10:51
Do you have any problems with the audio output, if you use mpd?
When I'm using mpd sometimes the audio disappears, the mpd is still running, all work well except the sound.
This happens very randomly, and I cannot reproduce this malfunction, which is very annoying.
My mpd is configured to use ALSA. I assume that mpd is not able to take over the full control over the audio output, E2 sometimes disturbe the audio output.
BR,
Saeckel
Re: mpd update #11
Posted 19 February 2012 - 15:34
Did not test that much since I got it running, but at first sight (hear) it looked OK. Will investigate and report...
However, I have another problem: enigma2 and mpd audio output get merged. That is you both here TV and MPD output at the same time. Also using ALSA which is default if you don't set any audio output in mpd.conf. I wonder if its possible to mute enigma2 audio only? It would be nice to hearing music from MPD while watching TV...
This should be possible when using pulseaudio - e.g. Ubuntu with pavucontrol can mute process wise. But I did not find pulsecontrol support in openembedded yet.
Any other idea how to accomplish process wise muting with alsa? I have seen alsa-utils in openembedded, maybe I will try them...
Re: mpd update #12
Re: mpd update #13
Posted 22 February 2012 - 19:03
bitbake alsa-utilsotherwise I have attached you alsa-mixer here.
But
For me this does not result in anything. In alsa-mixer only two channels are displayed (Master and PCM). It would be nice if I could configure a seperate channel for enigma2 and mpd in there to be able to spearately mute them...
@saeckel
how do you "mute" TV channels while listening to music so that you can only hear mpd output?
btw up until now I have no stability issues with that MPD version in the openpli feed.
Attached Files
Edited by tr45h, 22 February 2012 - 19:04.
Re: mpd update #14
Re: mpd update #15
Posted 23 February 2012 - 10:53
I "mute" the TV by switching to a "dummy" TV channel. I configure in my favourite channel list a entry where no real TV channel exist. So the box replied with “tuning not possible”. The screen becomes dark and the audio mutes.
To have it more comfortable, I configured my mpd-client (MPaD on iPad) to send an http command (TV channel switch) to the WebIf of the box.
But the problem is:
When I stop mpd playing and zap between TV channel, sometimes (randomly) the mpd-sound output is switch off. Restarting mpd does not help. The only way to get mpd control over the audio output is to reboot the box.
The problem is (my assumption) that Enigma takes the control over the audio output and does not release it.
@MiLo
Is it possible to force the control over the audio output (when mpd start) and release it (when mpd stops)?
Re: mpd update #16
Re: mpd update #17
Posted 23 February 2012 - 14:15
In alsa-mixer only two channels are displayed (Master and PCM). It would be nice if I could configure a seperate channel for enigma2 and mpd in there to be able to spearately mute them...
Indeed, looks like there are only two alsa mixers.
Perhaps you could request the manufacturer to introduce a switch for the 'normal' decoder sound, so you can disable it.
Re: mpd update #18
Posted 25 February 2012 - 14:34
Meanwhile I had tested a little bit more:
The mpd output is mute (sometimes, not always), if I switch between TV channels which toggles the audio output between AC3 and MPEG. Then the mpd output is off and only a reset helps. Sometimes also the mpeg audio of enigma is off, so TV channels which provide only mpeg (no AC3) have no more audio.
I assume that Enigma does not initialize the audio correctly when it switches between AC3 and mpeg2 .
Re: mpd update #19
Posted 2 November 2012 - 08:32
I did'nt get mpd to play music on OpenPLi 3.0 and derivates, e.g. OpenAAF. The daemon starts and a mp3 can be selected for playing but no sound at all. Because I use the same configuration as in OpenPLi 2.0 I do not assume an error in my configuration. The same behavior has been reported by other users as well.
Does mpd needs a recompile for OpenPLi 3.0? If yes, I would greatly appreciate if a recompiled version of mpd will be put on the feed.
Thanks in advance.
Re: mpd update #20
Posted 3 November 2012 - 13:33
same issue for me. I can browse through my songs with my MPD clients, but during playback I can hear no sound, neither via HDMI on the TV nor on my amplifier connected via Cinch. With the same configuration it was working fine with Open PLi 2.1.
My box is an XTrend ET9000.
Kind regards
Hounce
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users