mpdPup - Simplified MPD Music Server/Jukebox - v0.9.3

For talk and support relating specifically to Puppy derivatives
Message
Author
ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

#286 Post by ldolse »

After you run the wizard for the first time and reboot you can re-run the wizard at any time by typing 'mpdwizard'. I'm pretty sure the SSH welcome banner explains this. During the first boot it runs the setup wizard which you already navigated through. Subsequent runs will bring up a set of menus you can navigate through.

Supersurfer
Posts: 13
Joined: Sat 02 Mar 2013, 12:10

#287 Post by Supersurfer »

Hi Idolse,

Thanks for your swift reply!

Found it! I'm a bit puzzled sometimes by all the information on this forum that I do sometimes not seem to find what I am looking for :oops: I feel a bit ashamed for asking you every time :oops:


I have been trying out Sox upsampler but this does not seem to work stable with Flac format. Using WAV works fine but FLAC gives hickups at some files and sometimes the Alix even crashes.

Can this be because of the low CPU speed and demanding tasks for decoding FLAC and upsampling at the same time?

Kind regards,

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

#288 Post by ldolse »

No worries, I know there is a lot of info to absorb. Regarding Sox, yes, I doubt the Alix has enough CPU to do anything sophisticated with Sox, epecially if something else is taking up resources.

cmiu
Posts: 6
Joined: Fri 15 Mar 2013, 10:40

custom kernel module

#289 Post by cmiu »

Hi Idolse,
thank you for putting time and effort for this project.

I'm using mpdPup for about a month and i am very pleased with it.

My new DAC just arrived and I had to make some changes because it does not work with standard alsa usb async drivers ....

Anyway I've downloaded and activated devx_mpdpup_0.9.3.sfs and kernel_src-2.6.39.4-patched.sfs (from http://www.puppylinux.com/development/compilekernel.htm) and tried to compile the module manually

Unfortunately:

# modprobe -v snd-usb-hiface
insmod /lib/modules/2.6.39/kernel/drivers/misc/snd-usb-hiface.ko
FATAL: Error inserting snd_usb_hiface (/lib/modules/2.6.39/kernel/drivers/misc/snd-usb-hiface.ko): Invalid module format

dmesg
snd_usb_hiface: version magic '2.6.39.4 SMP mod_unload modversions 686 ' should be '2.6.39 SMP preempt mod_unload 486 '

It seems that is compiled for the wrong kernel version and arch. Corect?

Could you point me in the right direction?

Thank you

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

#290 Post by ldolse »

Hi cmiu, glad it's working overall for you. Regarding the kernel sources, thanks for pointing out the missing link. I uploaded them some time back, but forgot to publish the link. I've updated the first post, but you can get them here:
http://www.puppylinuxstuff.meownplanet.net/Idolse/0.9.2/kernel_sources-2.6.39-4.sfs

cmiu
Posts: 6
Joined: Fri 15 Mar 2013, 10:40

#291 Post by cmiu »

I've managed to compile the module and install it. :)

The strange thing is that on a new install mpdPup DAC was detected and I was able to use the old M2T driver snd-usb-asyncaudio.ko

In order to play dsd over pcm /etc/mpd.conf need to be modified as follows:
in audio_output section dsd_usb "yes" need to be added.

If it is ok I can post a link with the compiled module.

Next thing I wanna do is to compile a git version of mpd, as it has incorporated better support for dsf files tagging.

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

#292 Post by ldolse »

Hi cmiu,

Yes, feel free to go ahead and post a link to it for other users.

Updating the driver for the next release was already on my to-do list, I'll also add that line to mpd.conf.

I won't be bundling git versions of MPD with official releases, feel free to post a link to your git build as well.

As an FYI, these are the compile flags I use with mpd

Code: Select all

                     --prefix=/usr \
                     --build=i486-t2-linux \
                     --sysconfdir=/etc --localstatedir=/var \
                     --disable-static --enable-shared --disable-debug \
                     --enable-pipe-output \
                     --disable-ipv6 \
                     --with-zeroconf=no \
                     --enable-ffmpeg \
                     --enable-lastfm \
                     --disable-ao \
                     --disable-oss

hifidelity
Posts: 3
Joined: Mon 21 Jan 2013, 14:14

Kicking squeezelite into action?

#293 Post by hifidelity »

Hi Idolse - I've been trying to find and run Squeezelite within the boundaries of mpdPup but failing to do so.

Any chance you can give a Linux simpleton like me step by step instructions on how to kick squeezelite in to life?

I copied squeezelite as a program onto the bootable usb stick from Windows - but once the mpdPup program boots from the stick I can't find it anywhere to run?

I don't need to do anything fancy like get access to a windows share for my music - I just want to execute squeezelite from within mpdPup once it has booted from the stick.

Squeezelite with then actively search for the LMS server where all my music is stored.

I just love the idea of running Squeezelite from the simplest os possible - optimised for sound, without jitter inducing power management and the like.

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

#294 Post by ldolse »

Hi hifidelity, here are the steps you need:

Code: Select all

cp /mnt/home/squeezelite /usr/bin/
chmod +x /usr/bin/squeezelite
cp /etc/init.d/40.mpdscribble /etc/init.d/rc.squeezelite
chmod +x /etc/init.d/rc.squeezelite
nano /etc/init.d/rc.squeezelite
Replace all instances of 'mpdscribble' in the file with 'squeezelite'. Ctrl-X to exit and save it at the prompt.

Then type 'save2flash', and 'reboot' to commit all the changes and Squeezelite should start automatictally from then on. To disable automatic startup just type 'chmod -x /etc/init.d/rc.squeezelite'
Last edited by ldolse on Tue 19 Mar 2013, 14:41, edited 1 time in total.

hifidelity
Posts: 3
Joined: Mon 21 Jan 2013, 14:14

#295 Post by hifidelity »

Thanks Idolse

Am I to assume that squeezelite is already in the /mnt/home/ directory as part of your download package - or do I need to copy squeezelite in there from Windows?

And when you say squeezelite should start automatically (which is nice) - should I not be running squeezelite with the necessary parameters such as -n for naming the device, and -o for specifying the output device?

Sorry for the silly questions...

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

#296 Post by ldolse »

Squeezelite would be in /mnt/home because you said you already moved it to your thumbdrive from windows - the contents of the thumb drive are under /mnt/home

You would need to edit the init script to include arguments - this is relatively straightforward, I believe you can put them in quotes "" in after DAEMONOPTIONS=, but sometimes these init scripts need a bit of debugging and tweaking. I'll have to leave that to you to work out.

I'm surprised squeezelite doesn't support a config file...

hifidelity
Posts: 3
Joined: Mon 21 Jan 2013, 14:14

#297 Post by hifidelity »

Idolse - easier still for me - can you not just instruct me how to get to the command line in mpdPuP, then I can simply run the squeezlite command manually for now until I work out scripts?

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

#298 Post by ldolse »

I'm not sure how to answer that question - aside from the very first boot the only way mpdPup presents itself is via command line. If you are doing a first time install then just complete it and reboot - you will get the command line.

thisisvv
Posts: 14
Joined: Thu 05 Jul 2012, 15:43

Spotify tutorial

#299 Post by thisisvv »

Can anyone tell how to make spotify run on this MPD....

V

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

#300 Post by ldolse »


amolan
Posts: 1
Joined: Wed 20 Mar 2013, 20:27

Puppy recommended Motherboard

#301 Post by amolan »

Hi Guys,

Could you please let me know the recommend hardware, motherboard that are you using with MPD puppy Linux ?

Regards,

Alex.

Jean-Louis P
Posts: 22
Joined: Sun 23 Sep 2012, 18:06

#302 Post by Jean-Louis P »

Hi amolan

requirements are very limited. For myself :
- an asus 1001PX eeePC netkook with Lan (Bluetooth and Wifi disconnected)
- iPad/iPod as a remote control
- the excellent waveIO board for USB to SPDIF conversion and feed my DAC

Sound great !

Hope that helps

Jean-Louis

Edited for clarity
Last edited by Jean-Louis P on Thu 21 Mar 2013, 17:26, edited 1 time in total.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#303 Post by anikin »

Jean-Louis P wrote:with Lan, Bluetooth and Wifi disconnected - iPad/iPod as a remote control
I apologize for chiming in, but how do you connect your remote control with everything disabled?

Jean-Louis P
Posts: 22
Joined: Sun 23 Sep 2012, 18:06

#304 Post by Jean-Louis P »

No problem, You are right, I edited my post which was misleading : iPad connects to the ADSL Box / Wifi router and goes through LAN to the PC with mpd server. No strange transmission mode :D

Less devices active is better for SNR (theoritically, did not measure).

I did not mention I have a Windows Server for files hosting, printing, ripping CDs with EAC, managing the tags and the library with mediamonkey and occasionnaly MP3TAG.

BR
Jean-Louis

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

#305 Post by ldolse »

The most widely used board is the Alix board. If you aren't comfortable with a headless setup (no mouse/keyboard) then you can choose the Alix1d or Alix3d3. A lot of people go with the Alix2d2 though for the most bare bones configuration possible.

However the Alix is very slow - perfectly fine for playing music, but slow to interact with in general, and requires patience at times - particularly after the system is set up and you reboot for the first time. If you want something higher performance any Atom board should work for music playback, but many using Intel graphics won't run XWindows out of the box, so you would need to set up using the CLI only.

I use a Silverstone ML02 case to provide hardware remote control and LCD:
http://www.silverstonetek.com/product.php?pid=133
I use a harmony remote, which is superior to the stock remote it comes with.

OriginAE also has cases with the same LCD/Remote solution:
http://www.origenae.co.kr/en/index.htm

Post Reply