Installing Extra's (For Music)


Recommended Posts

Is there a package that will allow playing of MP3s through the unRAID server?

 

I doubt this is easily added without some kernel mods I.E. Driver support being added and/or ALSA.

is it feasible? why certainly, is it practical? I don't know. It depends on the features you need.

 

For example, mpd could be installed, but then it would require a web server and php or some other PC client to access it.

Then a sound card and driver/support for the sound card needs to be installed.

 

It might be better if you went with mt-daapd (an itunes like server), then added the Roku Soundbridge.

 

m1000.gif

http://www.roku.com/products_soundbridge.php

 

Another choice is to use twonkyvision so that it can serve video media too.

 

There's always slimserver and a slimdevices player.

However a port for slimserver to unRAID has not been completed yet.

 

I have a package for mt-daapd if you want to go that route.

If you do decide to go that route there are addon or interface controls for the Soundbridge.

I.E. you can use a wireless Pocket PC or even some phones.

 

BTW, I have a few Roku Soundbridge 2000's, although I use them in an unconventional manner.

 

http://www.cotrone.com/rob/archives/2006/04/roku_soundbridg_1.html

 

 

What I did with my RadioBot machine was use MPD and set up an interface with Icecast.

I then have the Roku's connect to the streaming icecase/shoutcast stream.

Using apache and php with mpphp, I can control the playlist remotely using a Viewsonic V210P

http://www.viewsonic.com/products/mobilewireless/wirelessmonitors/airsyncv210wirelessdisplay/index.htm

This puppy has RDP and a built in browser so I just lift it off the cradle , click click and I'm there.

 

So your choice is.

1. A sound card with a bunch of kernel hacking, driver loading, software installing (entirely feasible, but do you have the time/knowledge)

2. Roku Soundbridge connected to mt-daapd. ($199).

3. Offer a bounty for slimserver and get a squeezebox of some form

 

For the record, I got my M1000 of eBay for less then $100 used. I've just checked and seen some of them as low as $50 and $70.

 

I was hoping to one day, create a plugin to LCDPROC into the M1000 so I could use the VFD to monitor system status messages.

Right now I have it using a telnet text interface which works GREAT!

 

If you want to discuss this further, please start a new thread.

 

 

Link to comment

Thanks for the detailed writeup of options.

 

I feel like I have the simplest needs.  All I want to do is play MP3s on my local unRAID server, prevent any network access as a result, and have music signal come out of the audio jack on the back of my P5B VM D0 Motherboard.  I don't need to stream video or listen to it anywhere on the Internet.  But I think my simple need pushes me towards the most complicated solution - "kernel hacking, driver loading, software installing."

 

I really don't know how I'd get started making this a reality.  I am a passable Unix programmer (mostly with AIX), but my knowledge of getting the OS loaded and configured is nil.  If this project could be broken down into bite sized pieces, I'd be willing to work on them.  Maybe others who have an interest would work on other pieces.  In the end, if we had a decent player that would run on the unRAID server it would be awesome!

 

It seems the very first step would be to get audio drivers for my motherboard's audio chipset.  That would be the "ADI AD 1988 8-Channel High Definition Audio CODEC".  Reading results from a Google search seems to imply that it is supported on Slackware.  Is there a way to get it added without getting in over my head?

 

Thanks!

 

Brian

Link to comment

I have a spare VM D0 motherboard, but it's allot of work that I'm not sure I want to take on right now

I have to weigh this against other pending unraid projects  ;D

 

You say no network access, but there has to be network access in order to control the sound.

I.E. Unless you use the console and use something like ncmpc via command line or curses.

 

From what I can see in the kernel, There are no drivers for that chip.

So I checked at the ALSA site and there are links to chips underneath this one.

Therefore I would assume there would be chipset support if ALSA were compiled into the kernel and the ALSA libs were brought in from the site and compiled/installed.

 

Thereafter acquiring MPD and all support libs (libmp3 and some decoding libs).

 

http://slackware.cs.utah.edu/pub/linuxpackages/Slackware-12.0/Daemon/mpd/?C=M;O=A

 

Finally a client to control it.

 

How do you expect to control it?

Console? PocketPC via net, Web Interface?

 

It's entirely do-able, but it's an intermediate to advanced task.

 

I think you can start by downloading and installing the alsa pacakges and see where it takes you.

http://packages.slackware.it/search.php?v=current&t=1&q=alsa

 

Also, by reviewing the MPD package from above, there sure are allot of librs to be resolved.

I tested this on my development system, so anythjing that has a path has been installed.

Anything without a path has to be found and installed.

So, it's still feasible, just allot of packages to resolve.

 

root@slacky:/tmp/x/usr/bin# ldd mpd 
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7fb4000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7ef3000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7eef000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7ed8000)
        libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb7ec7000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7eb3000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb7e9d000)
        libfaad.so.0 => not found
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e98000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7e6f000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3
        libOggFLAC.so.3 => /usr/lib/libOggFLAC.so.3 (0xb7e54000)
        libFLAC.so.7 => /usr/lib/libFLAC.so.7 (0xb7e13000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb7dee000)
        libm.so.6 => /lib/libm.so.6 (0xb7dc7000)
        libc.so.6 => /lib/libc.so.6 (0xb7c85000)
        /lib/ld-linux.so.2 (0xb7fd8000)

 

Here;s a place with a preconfigured slackbuild which can get someone started.

http://slackware.cs.utah.edu/pub/linuxpackages/Slackware-12.0/SlackBuilds/multimedia/mpd/

 

I was able to get the dependancies down by recompiling and disabling a number of codecs.

 

rcotrone@slacky:~/src/mpd/mpd-0.13.0$ more configure.sh         
./configure \
--disable-oss                   \
--disable-oggvorbis             \
--disable-oggflac               \
--disable-flac                  \
--disable-ipv6                  \
--disable-audiofile             \


########## MPD CONFIGURATION ############

Playback Support:
libao support .................disabled
OSS support ...................disabled
ALSA support ..................enabled
JACK support ..................disabled
OS X support ..................disabled
PulseAudio support ............disabled
Media MVP support .............disabled
Shout streaming support .......disabled

File Format Support:
ID3 tag support ...............enabled
mp3 support ...................enabled
Ogg Vorbis support ............disabled
FLAC support ..................disabled
OggFLAC support ...............disabled
Wave file support .............disabled
MP4/AAC support ...............disabled
Musepack (MPC) support ........disabled
MOD support ...................disabled

Other features:
libsamplerate support .........disabled
Zeroconf support ..............disabled

##########################################

 

 

final ldd is

 

rcotrone@slacky:~/src/mpd/mpd-0.13.0$ ldd src/mpd 
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7ef9000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7e38000)
        libm.so.6 => /lib/libm.so.6 (0xb7e11000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e0d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7df5000)
        libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb7de5000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7dd1000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb7dbb000)
        libc.so.6 => /lib/libc.so.6 (0xb7c79000)
        /lib/ld-linux.so.2 (0xb7f1d000)

 

Link to comment

Okay

 

Step1 - Install Full Slackware Distro into VM

 

I dl'ed the DVD a while back (v12.0) and just went through the install process.  Did the recommended "install everything" option.  Went great until ...

 

I completed the install and it went to reboot.  On reboot the cursor sits in the upper left corner and the system does nothing.  No log messages of any kind are displayed.

 

- I used cfdisk to create 2 partitions - sda is a 19G install partition, reiserfs, bootable, sdb is a 2G swap partition.

- 1G memory

- I did NOT install LILO (didn't think I needed this unless I wanted to dual boot to Windows or something).  Everything else was bascially default. 

- I used VMware "Other Linux" option.  It seems to have configured the virtual drive as SCSI (this was default). 

 

I did not do anything explicit to make the partition bootable besides setting the "boot" partition.  No syslinux or anything.  I wanted to go back and try to install LILO but don't know how to get back to that point without reinstalling everything.

 

Any ideas?  I double checked my partitions and the install partition (not the swap partition) is bootable.

Link to comment

That worked.  Thanks WeeboTech!

 

Step1 - Install Full Slackware Distro in VM (COMPLETE)

 

... but when trying to install VMware tools (or even open up my harddrive), I get the attached error.  I did some research and found that maybe I needed to do an "addgroup" command.  But addgroup says command not found.  I am logged in as "root" - not sure if that is a good thing or not.

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.