mpd Music Player Daemon + Clients

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

mpd Music Player Daemon + Clients

#1 Post by aragon »

Home: http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
Version: 0.15.8
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.
Compiled and tested in 4.31.

Additional dependencies (for 4.31):
- libshout (for icecast-output)

For clients see following messages.

For icecast-output you'll need also the attached icecast-package.

aragon
Attachments
mpd-0.15.8.pet
(145.11 KiB) Downloaded 945 times
icecast-2.3.2.pet
(94.22 KiB) Downloaded 788 times
libshout-2.2.2.pet
(22.37 KiB) Downloaded 839 times
libshout-DEV-2.2.2.pet
(17.7 KiB) Downloaded 757 times
Last edited by aragon on Tue 26 Jan 2010, 16:43, edited 5 times in total.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#2 Post by aragon »

CLI-Clients for mpd
-------------------------------
1. mpc
Home: http://mpd.wikia.com/wiki/Client:Mpc
Version: 0.19
A minimalist command line interface to MPD, not to be confused with musepack.
Some might say masochistic, but it works.

2. pms
Home: h[url]ttp://pms.sourceforge.net/[/url]
Version: 0.42
Practical Music Search is an open source client for Music Player Daemon, written in C++ and ncurses. The target audience are power users who need an MPD client which is highly configurable and accessible. PMS features a simple but powerful interface, and runs on (at least) Linux and Mac OS X.
3. ncmpc
Home: http://mpd.wikia.com/wiki/Client:Ncmpc
Version: 0.16.1
ncmpc is a fully featured MPD client, which runs in a terminal (using ncurses). Its goal is to provide a keyboard oriented and consistent interface to MPD, without wasting resources.
Some may need libmpdclient (see attached).


All Clients are compiled and tested in 4.31 and do not have add. dependencies.

aragon
Attachments
libmpdclient-2.0.pet
(18.96 KiB) Downloaded 618 times
libmpdclient_DEV-2.0.pet
(28.69 KiB) Downloaded 595 times
mpc-0.19.pet
(30.83 KiB) Downloaded 691 times
ncmpc-0.16.1.pet
(63.4 KiB) Downloaded 722 times
ncmpc_NLS-0.16.1.pet
(65.63 KiB) Downloaded 646 times
Last edited by aragon on Tue 28 Sep 2010, 18:10, edited 4 times in total.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#3 Post by aragon »

GUI-Clients for mpd (gtk2)
-----------------------------------
1. gbemol
Home: http://gbemol.sourceforge.net/
Version: 0.3.2
gbemol is a graphical frontend for the Music Player Daemon (MPD) it is written in C and uses the GTK+ toolkit for it's interface.

Features
* Easy-to-use, tag-oriented library browser
* Two mode playlist
* Cover art support (APIC tag only, for now)
* System tray icon
* Song, album and artist information
Compiled in 4.31. May need libmpdclient (see previous post)

2. glurp
Home: http://glurp.sourceforge.net/
Version: 0.11.6
Glurp is a GTK+-2.x based graphical client for the Music Player Daemon.
No add. dependencies on 4.21.

3. gmpc
Home: http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client
Version: 0.15.1
GMPC is a GTK2 client for Music Player Daemon. The interface is made to be easy to use, but provide full access to all the features MPD provides. Give the user several ways to browse his database while still being a lightweight client.
The needed libmpd is part of the pet. No other add. dependencies on 4.21.

aragon
Attachments
gbemol.png
(32.06 KiB) Downloaded 2944 times
glurp.png
(30.42 KiB) Downloaded 3032 times
gmpc.png
(156.08 KiB) Downloaded 3019 times
gmpc_NLS-0.15.1.pet
(26.57 KiB) Downloaded 704 times
gbemol-0.3.2.pet
(61.54 KiB) Downloaded 690 times
glurp-0.11.6.pet
(48.7 KiB) Downloaded 695 times
Last edited by aragon on Tue 26 Jan 2010, 16:49, edited 1 time in total.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#4 Post by aragon »

WEB-Clients for mpd
-----------------------------------
I first planned to make packages for some web-clients. But now i decided not to do, as the installation is much dependant on your local setup.

See here for the clients: http://mpd.wikia.com/wiki/Clients#Web_Clients

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#5 Post by aragon »

updated pms to 0.41, see 2nd post.

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#6 Post by aragon »

updated mpd to 0.15.4, see main post.

aragon

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

mpd 0.15.5

#7 Post by ldolse »

These mpd pets are much appreciated. Would it be possible to get a 0.15.5 pet? I can figure out how to compile my own if need be, but thought I would check here first.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#8 Post by aragon »

@ldolse
have been some days off. yes i got the packages allready, but they're on another machine. please check in one or two days.

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

updated mpd to 0.15.5, see main post.

aragon

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

#10 Post by ldolse »

Great, Thanks!

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

Can't add m4a files with this mpd - version of ffmpeg??

#11 Post by ldolse »

Hello,

I'm not able to add AAC m4a files to my mpd database, which is a really common format these days due to iTunes. According to mpd --version m4a is supported, but the log says this when it hits an m4a file:

Code: Select all

Oct 29 03:52 : ffmpeg: Unsupported audio codec
The default ffmpeg in Puppy looks to last have been compiled in 2007, so I'm wondering if mpd was also compiled against that, and m4a support is lacking?

I wasn't sure if I could get away with just updating my ffmpeg, but I thought it was worth a shot. I tried going to the 2008 ffmpeg using the puppy package manager. Unfortunately that's just managed to prevent mpd from running completely now, as the upgrade seemed to remove some other dependency:

from the CLI when attempting to run mpd:

Code: Select all

mpd: error while loading shared libraries: libx264.so.60: cannot open shared object file: No such file or directory
From the package manager while re-installing mpd:

Code: Select all

HOWEVER, these dependencies are missing:
File /usr/bin/mpd has these missing library files:
libx264.so.60

The Petget package manager does not know what package has these libraries.
Edit:
I got rid of the dependency complaint above by installing ffmpeg 0.5 from this link:
http://www.murga-linux.com/puppy/viewtopic.php?t=40912

However, now I get a new error:

Code: Select all

mpd: symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04c11DB7
I think that error means recompiling is required, correct?

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#12 Post by aragon »

@ldolse

i'm not sure if you're right. it's possible that it only needs to be recompiled against faad2 to play your files. i will give it a go today and post my results.

aragon

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

That would be nice

#13 Post by ldolse »

A newer Faad2 should be a lot easier to deal with than a full ffmpeg update. It was just the wording of the error making me lean toward ffmpeg.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#14 Post by aragon »

yes, no , but ,äh, shit,..

ok, tested. doesn't work. so yes you'll have to test a compile against the newer ffmpeg.

aragon

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

#15 Post by ldolse »

Thanks for the sanity check.

What flags do you use when you compile mpd on your system? I'm using TurboPup Xtreme, which is based on 4.2, to compile here.

I got 'configure' to run successfully when I used:

Code: Select all

./configure --prefix=/usr
But when I run make I get a bunch of errors relating to ALSA, the first one being that 'alsa/asoundlib.h' is missing. I'm guessing I need to get the full source for Alsa, so I'll be trying that next.

***EDIT***

Successfully compiled it once I got the Alsa lib/developer file (Alsa-lib-1.0.20.tar.gz) from Patriot's thread. What was a bit weird was I needed to copy the /include/alsa folder from the alsa archive into the mpd source directory, that seemed to be the place the makefile expected it to be...

This was after upgrading the following:
ALSA to 1.0.20
FAAD2 to 2.6.1
FFMPEG .5

Sounds like I could get away with just FFMPEG though.

My overall plan was to make a remastered ISO that's focused on making MPD easy to get up and running. Is there anything I need to be aware of compiling on my own if I want this to be as compatible as possible across multiple systems?

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

#16 Post by ldolse »

One additional detail, in case you're planning to resolve this with future pets. Turns out that FAAD2 2.6 has a bug where it doesn't read m4a tags correctly, Artist gets overwritten by composer. In order to resolve that you need to compile against FAAD2 2.7. Patriot has a .pet for that here.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#17 Post by aragon »

@ldose

- alsa
yes alsa from 4.2 is messed up i posted a pet to workaround that in some threads one is here
http://www.murga-linux.com/puppy/viewtopic.php?t=47452

- faad2
yes 2.6 is buggy, i have 2.7 as a pet, but don't use it.

- portability/remaster
no, you don't need much to think of as long as you include the deps ;-) . i'm also running a mpdpuppy on another laptop and use mpd, ncmpc and gmpc for that. in general i would recommend to compile your 'new' needed packages on the system you later want to make the remaster on.

one note about a remaster: if you use the buildin remaster-script there is a point where it says you should investigate /tmp/root (the copied files from /root that will go into the remaster). not all files will be copied (what's correct in general, as these are 'personal' settings) so control if all you need is in. if not simple copy over from /root to /tmp/root

- compile-options
from memory :roll:

Code: Select all

./configure --build=i486-t2-linux-gnu --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-pipe-output --enable-shout
but look with ./configure -h for all options.

good luck
aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#18 Post by aragon »

mpd updated to 0.15.6 see main post.

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#19 Post by aragon »

updated:

mpd: 0.15.8 first post
mpc: 0.19 second post
ncmpc: 0.16.1 second post
gbemol: 0.3.2 third post

added:
libmpdclient: 2.0 second post

aragon

Post Reply