DSL for playing mp3 over a network


Forum: User Feedback
Topic: DSL for playing mp3 over a network
started by: rrolfe

Posted by rrolfe on Sep. 12 2004,15:06
Hi all,

I am trying to get DSL working on a old pc, it s 200 mhz pentium with 40 mb or ram and grafic blaster extreme video card.

i can get it to boot to the desk top but there are no icons.
also the first windows that open is really big and hard to move or close as you cant see the top bar of the window.

what i want to be able to do is use this box for playing mp3s over a network from a win2000 and xp machines.

I assume i need samba and some sort of mp3 player?

anyone any ideas why the icons are gone and the windows are insanly big?

Posted by ke4nt1 on Sep. 12 2004,18:58
I have uploaded the Edna MP3 server to the testing area ..
With it , you can stream MP3's via http to any networked computer..

I have removed the python that was included with it ..
It now uses the python.uci or python2.3.tar.gz available in the repository..

Place your MP3's in /opt/mp3s or use a cdrom of mp3's mounted at /mnt/cdrom ..

You can edit the /usr/share/edna/edna.conf if you need to edit or add another location ..

Enjoy ..

73
ke4nt

Posted by libretto on Sep. 12 2004,21:37
Got my DSL box playing mp3s over my network. Simply shared my mp3 directory on my M$ box. Then got the samba mydsl package loaded on my DSL box. Mount the mp3 directory under LinNeighbourhood and get XMMS to play the files as if they were on the DSL box!

Not the most elegant solution or network friendly. But it goes nicely, even though my M$ box uses a wireless connection!

HTH :;): :D

Posted by ke4nt1 on Sep. 13 2004,03:23
I got some of my mp3 collection organized ,
and grabbed a snapshot of the Edna MP3 server in action ..  
It looks like this in Linux and Windows , and most any browser ..

I used emelfm to make sub-dirs, and rename/organize files by artists
Edna automatically updates its own web pages, on the fly..
As soon as I make changes to the files, simply requesting the page updates it ..

I see about 10% cpu usage beginning the stream to a networked computer ..
Then it drops to nearly 0% , as you can see here..
If your brave, you can stream outside your network to the internet ..

Here's the goods..
< Edna Screens >

73
ke4nt

Posted by greenlead on Sep. 13 2004,03:30
That sounds interesting. Do you have a command line version? It just sounds pointless to me to waste resources on a GUI interface, when you would rather use the resources on serving. Right?

I think I will play with it some. I have a couple of uses in mind for it already!

Posted by ke4nt1 on Sep. 13 2004,03:39
Well it's not "really" a gui interface..  It's just any ol' web browser.
You don't even need X to make it run, or manage the mp3 dirs, for server use..  
You would nornally use X and a browser to select a stream for playback..
( Not even then, I just tried links hacked, and it works fine as well )

73
ke4nt

Posted by dslfool on Sep. 13 2004,15:31
Hi Ke4nt,

How are you launching Edna? I've downloaded and installed python2.3.tar.gz and edna.dsl and copied MP3s to /opt/mp3s (on a DSL 0.8.1.1 HD install), but I haven't had any luck running Edna (and Python) via the Fluxbox menu or a command line. Before I post details and a complete description of the errors I'm getting I thought I'd just quickly confirm how you're (sucessfully) getting Edna to run.

Thanks!

Posted by ke4nt1 on Sep. 13 2004,16:11
Good to see you again, dslfool ..

The shell command is ednastart, which sets up the
export path to python, and runs "sudo python edna.py"

The fluxbox menu option always works for me,
even from a stock, pristine DSL liveCD bootup..

I use the python.uci, but I tested with the python2.3.tar.gz, and it ran fine for me..

I see the "python edna.py" running in my "ps ax" command.

Open a browser to " < http://localhost:8080" > and see your playlists..

I'm NO PYTHON DUDE, and originally this app had python
included in it. I didn't see a need to have the same version
of python in two places at once, so surely this is hacked
together haphazardly...

You won't hurt my feelings if you "edit" this one a bit.
I know that the "edna" and "ednad" files point to the old places,
but the PYTHONPATH seems to deal with that issue ..

My kids just think this is "da bomb" , only because they can get in all my mp3's..
( they haven't figured out how to capture streams yet! )

and yes, I was also running this on DSL.0.8.1.1

73
ke4nt

Posted by AwPhuch on Sep. 13 2004,17:01
Dude that rocks...now you can turn an old laptop or whatnot into a freeking MP3 jukebox for all your friend!!! How freekin cool is that!!!

Brian
AwPhuch

Posted by dslfool on Sep. 13 2004,17:05
Quote (ke4nt1 @ Sep. 13 2004,12:11)
Good to see you again, dslfool ..

Gosh, given the lame-ass questions I tend to ask, I dunno if that's really true. :-)

Anyway, Hi again and thanks. I'm getting closer - I was getting some weird errors, but after a magic restart of DSL, Edna's running with no complaints. Thanks for the "localhost:8080" and "ps ax" tips!

Now I'm having difficulty connecting from another computer, but I'll play with this a bit more before I formalize this into another lame-ass question.

Again, thanks!

Posted by clivesay on Sep. 13 2004,17:11
ke4nt -

This is really cool! Geesh, I don't know how I can ever keep up with learning all this stuff! I think my head may explode!! :p

Sharing an MP3 collection throughout the house in this way is pretty sweet!

Chris

Posted by dslfool on Sep. 13 2004,17:37
Indeed, more cool than I can say! (I got my lame-ass issues squared away, btw.)

Think I've found a use for that 300MHz Aptiva stuck under my desk. In theory I could connect it via ethernet to my Apple AirPort base station and serve up my MP3 collection wirelessly to my PowerBook and my Toshiba notebook running DSL. Initial tests look good. Wowsah.

Posted by ke4nt1 on Sep. 13 2004,19:16
I know it's a little rough around the edges as of yet..
You folks feel free to modify or edit this stuff as you see best.
( keyword = improve )
Sometimes I get no startup of the edna server on some boxes.
SO there is still a problem somewhere..

As to connecting other boxes..
I pulled up any browser, and typed in the url line ..
"http://ip.to.mp3.server:8080 "

73
ke4nt

Posted by AwPhuch on Sep. 13 2004,21:27
I also did find where it bombed out or locked if you opened more than one stream, or closed the stream you were currently listening to...but i might have done something wrong??!?

Brian
AwPhuch

Posted by AwPhuch on Sep. 13 2004,21:30
Have you looked at < http://www.icecast.org/, > it seems to be the same but alot different...perhaps this one would be good to look into as well...

< http://www.icecast.org/docs/icecast-2.0.1/ >
< http://www.gnuware.com/icecast/ >
< http://www.6809.org.uk/media/ices2-howto.shtml >



Brian
AwPhuch

Posted by ke4nt1 on Sep. 13 2004,22:26
Keep me posted on any bizarre activity..
Obviously, it needs some TLC , but I've not seen those issues..

That's why it's in testing..  :-)

I'll work on cleaning up the daemons , and see if they can be
pointed more directly to python..

I still see issues with the wrapper not updating the path properly.

73
ke4nt

Posted by newOldUser on July 11 2005,13:30
Does anyone know of a way to add file associations to Dillo so it can be used to browse the edna server and fire up xmms when a stream is selected?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.