Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Nov 2014, 17:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
MPD (Music Player Daemon) Server on Puppy
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Author Message
jarle

Joined: 23 Feb 2009
Posts: 2

PostPosted: Mon 23 Feb 2009, 12:54    Post subject:  MPD (Music Player Daemon) Server on Puppy
Subject description: How to install..
 

Hi everyone!

I am quite new as a Puppy-user and are now trying to figure out how
to get MPD (server) working in Puppy. I have tried to download and compile MPD, but without success. I have also tried a PUP I found here on the forum, but it just complained about a missing libshout.so.3 it didn't find (even if it is there and the paths are OK).

The reason why I want MPD-server is that I want to control this from another server with Ampache and stream mp3s from it.

Does anyone know how to install a working MPD-serer in Puppy?

Thanks in advance.
Back to top
View user's profile Send private message 
brymway

Joined: 08 Dec 2007
Posts: 410

PostPosted: Mon 23 Feb 2009, 18:07    Post subject:  

Look here for your needed lib, load it up and try compiling again.
http://murga-linux.com/puppy/viewtopic.php?t=24599

_________________
http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Taavi

Joined: 10 Mar 2006
Posts: 146
Location: Suomi, Finland

PostPosted: Mon 23 Feb 2009, 18:50    Post subject:  

This works for me in Puppy 4.12. Mpd.conf file is in /etc.

Here's a little front end for it too if someone wants to try. And three plugins to it. If I remember right those plugins needed glib to work but gmpc itself didn't.

I made these some time ago for learning to compile and these are the first pets I have compiled ever. So if they work I'm happy and if they don't I'll keep practicing.
gmpc-coveramazon-0.17.0.pet
Description 
pet

 Download 
Filename  gmpc-coveramazon-0.17.0.pet 
Filesize  7.12 KB 
Downloaded  733 Time(s) 
gmpc-last-fm-0.17.0.pet
Description 
pet

 Download 
Filename  gmpc-last-fm-0.17.0.pet 
Filesize  7.41 KB 
Downloaded  728 Time(s) 
gmpc-lyrics-0.17.0.pet
Description 
pet

 Download 
Filename  gmpc-lyrics-0.17.0.pet 
Filesize  10.73 KB 
Downloaded  680 Time(s) 
gmpc-0.17.0.pet
Description 
pet

 Download 
Filename  gmpc-0.17.0.pet 
Filesize  577.45 KB 
Downloaded  903 Time(s) 
mpd-0.14-i486.pet
Description 
pet

 Download 
Filename  mpd-0.14-i486.pet 
Filesize  84.1 KB 
Downloaded  838 Time(s) 
Back to top
View user's profile Send private message 
jarle

Joined: 23 Feb 2009
Posts: 2

PostPosted: Mon 23 Feb 2009, 19:42    Post subject: MPD  

Thanks!

Taavi, I tried your PUP. It worked like a charm Smile

I am now using puppy on a small thin client connected to the stereo.
and controlling mpd within Puppy from Ampache with all my mp3s on it.
(Streaming from Ampache to Puppy-box).

Perfect!
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2027
Location: Maine, USA

PostPosted: Tue 24 Feb 2009, 13:15    Post subject:  

Here are files that I use for my puppy music server, accessed anywhere thru a browser.

If you use firefox, don't forget to try the minion plugin.

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
qcjn


Joined: 27 Dec 2008
Posts: 9
Location: you can find me usually at irc #puppylinux

PostPosted: Sun 08 Mar 2009, 14:43    Post subject: Can't start mpd
Subject description: i don't know how to start mpd in puppy ?
 

in ubuntu i make sudo /etc/init.d/mpd start

but under puppy doesn't work ?

so naturally i can't connect gmpc ? right ?

i made the mpd --create-db
Back to top
View user's profile Send private message Visit poster's website 
trapster


Joined: 28 Nov 2005
Posts: 2027
Location: Maine, USA

PostPosted: Sun 08 Mar 2009, 15:40    Post subject:  

Does it start with mpd in a console?
You can put the command mpd in /etc/rc.d/rc.local

Does mpc play work in a console?

I believe you also need to load a playlist with mpc load playlistname

I use this to create a playlist using .ogg files. Just replace .ogg with .mp3 if needed. Create a script and place this in your music directory. It creates a playlist called all.m3u. You can then use mpc load all

create-playlist
Code:
#!/bin/sh
find /mnt/sda4/ogg | grep .ogg > all.m3u
cp all.m3u /var/lib/mpd/playlists/all.m3u


This is a script I put into /root/Startup. I named it startmpd
(I could only get mpc to start by repeating the mpc play command in the script.)

startmpd
Code:
#!/bin/sh

mpd
sleep 2
mpc load all
sleep 2
mpc random on
sleep 2
mpc repeat on
sleep 2
mpc play
sleep 2
mpc play
sleep 2
mpc play
sleep 2
rxvt -g 110x38 -e ncmpc -c


I also have the following in /etc/rc.d/rc.local:
Code:
export MPD_PORT=8001
export MPD_HOST=localhost


After I add songs to my directory (/mnt/sda4/ogg), I run this script:
Code:
mpd --create-db
mpc update
cd /mnt/sda4/ogg
./create-playlist
mpc load all

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
qcjn


Joined: 27 Dec 2008
Posts: 9
Location: you can find me usually at irc #puppylinux

PostPosted: Wed 11 Mar 2009, 15:35    Post subject: Problem with gmpc version 17 in puppy  

ok, first i m using puppy 4.1

i've installed the gmpc v.17 from the pet, and it had some bugs.

installed ncmpc, worked perfectly.

intalled gmpc 13 from deb, was working. Old but working.

So since it worked from deb, might as well install gmpc version 17 from deb, with all the dependencies. Same problem as the .pet

didn't know how to uninstall it, so reinstall the pet and uninstall with package manager, like i did the first time. it worked.

reinstall deb gmpc v 13. it doesn't work. Command bash not found

So now i don't know what to do ??

Installing deb= download to / and extract to / with xarchive.
Back to top
View user's profile Send private message Visit poster's website 
qcjn


Joined: 27 Dec 2008
Posts: 9
Location: you can find me usually at irc #puppylinux

PostPosted: Wed 11 Mar 2009, 15:36    Post subject: other thing  

ncmpc still works perfectly.
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2715
Location: Montenegro

PostPosted: Thu 12 Mar 2009, 02:44    Post subject:  

Looks like we made a pretty mess there qcjn,
Quote:
Installing deb= download to / and extract to / with xarchive.


You don't have to download to /, you can download wherever you want, it's important to extract to / Wink

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
qcjn


Joined: 27 Dec 2008
Posts: 9
Location: you can find me usually at irc #puppylinux

PostPosted: Wed 25 Mar 2009, 18:27    Post subject: dejan555 Found another mpd client  

This one is called glurp...It works good
glurp_0.11.6-4_i386.pet
Description  This is the client
pet

 Download 
Filename  glurp_0.11.6-4_i386.pet 
Filesize  63.27 KB 
Downloaded  666 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 26 Mar 2009, 05:30    Post subject:  

hi qcjn,

to your problems with the 0.17 Version:

newer versions of gmpc need more actual versions of gtk and glib (to compile) than puppy has. as taavi mentioned, the gmpc-last-fm-0.17.0.pet seems to work stable, but the add-ons won't.

you could also look at this post:
http://www.murga-linux.com/puppy/viewtopic.php?t=22949

i think gmpc 0.15.1 was the latest version that could be compiled is puppy. so this one would be fine.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2715
Location: Montenegro

PostPosted: Thu 26 Mar 2009, 18:16    Post subject:  

mpd 0.14
glurp 0.11.6
icecast2 2.3.2
+ dependencies,
all in one pet! 5.68 MB
Get it here

Thanks to qcjn for help with mpd & icecast configuration!

First run:

Open /etc/mpd.conf in geany
Edit your music folder path
Save

Open terminal, type:
Code:

# mpd --create-db
# mpd
# glurp &
# echo > /root/spot/access.log
# echo > /root/spot/error.log
# chmod -R 777 /root/spot/
# su spot
# cd ~
# icecast2 -c icecast.xml &
# exit
# exit


You can open browser and point it to localhost:8000 to see if it works
every new run:
Code:

# mpd
# glurp &
# su spot
# cd ~
# icecast2 -c icecast.xml &
# exit
# exit


Tested on 4.1 LiveCD
Enjoy!

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
dejan555


Joined: 30 Nov 2008
Posts: 2715
Location: Montenegro

PostPosted: Wed 05 Aug 2009, 15:18    Post subject:  

Here's MPD 0.15.1 pet, this mpd version has built-in httpd server which means you don't need icecast to stream out!
Example configuration file is in /usr/share/doc/mpd/ copy it to /etc/mpd.conf and configure before running mpd

Download: mpd-0.15.1-i486.pet 139 KB

ncmpcpp 0.3.5 CLI client: ncmpcpp-0.3.5-i486.pet 247 KB

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 05 Aug 2009, 15:47    Post subject:  

dejan555 wrote:
Here's MPD 0.15.1 pet, this mpd version has built-in httpd server which means you don't need icecast to stream out!

very interesting news!

did you no/test if it able to play local and stream to http at the same time (as before with icecast)?
i use this setup to have music in different rooms or inside/outside on parties. mpd laptop is connected to hifi and streams parallel to my noxon2. allways works nice...

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0892s ][ Queries: 12 (0.0084s) ][ GZIP on ]