MPD (Music Player Daemon) Server on Puppy
MPD (Music Player Daemon) Server on Puppy
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.
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.
Look here for your needed lib, load it up and try compiling again.
http://murga-linux.com/puppy/viewtopic.php?t=24599
http://murga-linux.com/puppy/viewtopic.php?t=24599
[url]http://wellminded.com/puppy/pupsearch.html[/url]
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.
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.
- Attachments
-
- gmpc-coveramazon-0.17.0.pet
- (7.12 KiB) Downloaded 1173 times
-
- gmpc-last-fm-0.17.0.pet
- (7.41 KiB) Downloaded 1127 times
-
- gmpc-lyrics-0.17.0.pet
- (10.73 KiB) Downloaded 997 times
-
- mpd-0.14-i486.pet
- (84.1 KiB) Downloaded 1263 times
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.
If you use firefox, don't forget to try the minion plugin.
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
- qcjn
- Posts: 9
- Joined: Sat 27 Dec 2008, 04:06
- Location: you can find me usually at irc #puppylinux
- Contact:
Can't start mpd
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
but under puppy doesn't work ?
so naturally i can't connect gmpc ? right ?
i made the mpd --create-db
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
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
I also have the following in /etc/rc.d/rc.local:
After I add songs to my directory (/mnt/sda4/ogg), I run this script:
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: Select all
#!/bin/sh
find /mnt/sda4/ogg | grep .ogg > all.m3u
cp all.m3u /var/lib/mpd/playlists/all.m3u
(I could only get mpc to start by repeating the mpc play command in the script.)
startmpd
Code: Select all
#!/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
Code: Select all
export MPD_PORT=8001
export MPD_HOST=localhost
Code: Select all
mpd --create-db
mpc update
cd /mnt/sda4/ogg
./create-playlist
mpc load all
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
- qcjn
- Posts: 9
- Joined: Sat 27 Dec 2008, 04:06
- Location: you can find me usually at irc #puppylinux
- Contact:
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.
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.
- qcjn
- Posts: 9
- Joined: Sat 27 Dec 2008, 04:06
- Location: you can find me usually at irc #puppylinux
- Contact:
other thing
ncmpc still works perfectly.
Looks like we made a pretty mess there qcjn,
You don't have to download to /, you can download wherever you want, it's important to extract to /Installing deb= download to / and extract to / with xarchive.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
- qcjn
- Posts: 9
- Joined: Sat 27 Dec 2008, 04:06
- Location: you can find me usually at irc #puppylinux
- Contact:
dejan555 Found another mpd client
This one is called glurp...It works good
- Attachments
-
- glurp_0.11.6-4_i386.pet
- This is the client
- (63.27 KiB) Downloaded 1004 times
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
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
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:
You can open browser and point it to localhost:8000 to see if it works
every new run:
Tested on 4.1 LiveCD
Enjoy!
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: Select all
# 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
every new run:
Code: Select all
# mpd
# glurp &
# su spot
# cd ~
# icecast2 -c icecast.xml &
# exit
# exit
Enjoy!
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
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
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
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
very interesting news!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!
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
Yes you can do so, I did run it and qcjn tried to connect while it was playing but my connection upload rate is bad for streaming out so it resulted with lots of buffering for him but yes it runs same as with icecast, you can controll it locally with some client and stream out in same time. Just uncomment http builtin plugin section in configuration file and try!
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
thanks for the quick answer, will test it out soon.
aragon
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
ok confirmed to work (but testing with the same music from laptop and from hifi with a delay of some seconds is more ).
the 'external' upnp-client semms to take a process with 27% cpu on my dualcore. what's no problem on this one, but my streaming-engine is an older one. so i will compare usage with mpd+icecast with this version.
but this is a long missed feature of mpd, it's getting better and better...
aragon
the 'external' upnp-client semms to take a process with 27% cpu on my dualcore. what's no problem on this one, but my streaming-engine is an older one. so i will compare usage with mpd+icecast with this version.
but this is a long missed feature of mpd, it's getting better and better...
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
- qcjn
- Posts: 9
- Joined: Sat 27 Dec 2008, 04:06
- Location: you can find me usually at irc #puppylinux
- Contact:
mpd 0.15.2 i486 as pet with shout output
here is the mpd 0.15.2
- Attachments
-
- libshout-2.2.2.pet
- (163.42 KiB) Downloaded 643 times
-
- libshout3_2.2.2-5_i386.pet
- (36.4 KiB) Downloaded 629 times
-
- mpd-0.15.2.pet
- (117.97 KiB) Downloaded 646 times
@qcjn
althought i didn't know why you use another libshout as i pm'ed and you don't use the libsamplerate from official-repos
...
i'm enjoying radio qcjn atm. i ran across the link at dejans site. very nice stream. do you run it on puppy or on another system?
aragon
althought i didn't know why you use another libshout as i pm'ed and you don't use the libsamplerate from official-repos
...
i'm enjoying radio qcjn atm. i ran across the link at dejans site. very nice stream. do you run it on puppy or on another system?
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html