LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2006, 09:21 PM   #1
trevclem
LQ Newbie
 
Registered: Mar 2006
Distribution: SUSE 10.0
Posts: 1

Rep: Reputation: 0
Access Mp3 files across network in player


Hello!
I am an excited newbie to Linux. I was sick of Microsoft and had just obtained an old Pentium II. I tried KNOPPIX and loved it, things worked beautifully and even better than Win98!
Anyway--
I chose (somehwat blindingly) to try SUSE as a distro and am fairly happy with it (getting it to network was a pain, but I forged through it).
My current problem is that I want to turn this into a media PC for our network. I have to PCs running WInXP that are connected to a LInksys Router. I would like to find a program that would allow me to create playlists and access music/video files from those two computers. I want to put this in the living room and setup a playlist for parties, housework, etc. Is there anything available that will do this? I need something like iTunes w/ their sharing ability.
Lastly, with this in mind is there a better distro I should be using for this setup?
Opinions are wanted!
Thanks!
Trevor
PS I'm fairly tech/computer savy but am BRAND new to Linux and am a bit overwhelmed right now w/ a lot of the detailed configuration stuff....something that is streamlined and user friendly would be prefered!
 
Old 03-14-2006, 10:25 PM   #2
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Samba for file access from Winders.

If you want to just set up something for music, you could look into icecast or shoutcast for streaming music. Or just install Winamp on the XP computers, map a drive to your Samba share on your Linux box, and off you go.

Unless I'm misunderstanding what you want to do.
 
Old 03-15-2006, 01:27 AM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
this stuff is dear to my heart, as i've spent the last 2 years tweaking and perfecting this type of setup - so, i'll probably save you hours of anxiety and sleepless nights.

a short history: i've used winamp, shoutcast, icecast, oddcast, jack, flumotion, xmms, gnump3d, ampache, jinzora, and vlc (i may have left something out...)

i now use two of the above: vlc for local and lan; gnump3d for internet streams.

ultimately, imho, vlc is the single best solution for both local/lan and internet, but it can be a cpu hog if not tweaked properly (constantly running at about 17% cpu usage if internet streaming is invoked, because of transcoding options necessary to downsample the output. since it's 'working' even if there are no internet connections (and i'm the only one who would be connecting), this cpu usage is unnecessary.)

gnump3d, on the other hand, streams over the net only on demand, hence no cpu usage unless i'm connected.

briefly, i'm set up thusly:

vlc runs in the background at startup. there is no gui; for control i use a telnet remote control interface, plus there is an http web interface (pretty basic, but functional enough). hence, my pc is playing music randomly, 24/7. turning on my stereo is like turning on the radio - there's always music playing, and i certainly can't complain about the song selection. the stereo is simply connected via rca>stereo/line-out jack. plus, of course, if my pc speakers are on, there's music there, as well. if i'm in another part of the house, then i point an instance of vlc at the mp3 pc, and i have the same music (albeit with a slight lag (but we can call it 'echo' stereo enhancement) playing there.

the difference between using vlc internally vs gnump3d is that with gnump3d the same 'playlist' can't be streamed 'simultaneously' to each client, so the music in each part of your home would be different. (when i say 'can't', it means i haven't necessarily figured out how to do so - if someone has perfected this, please feel free to discuss...)

the largest single issue with vlc is its syntax; it took me eons to get it right for both lan and internet streaming (two distinct streams: a 'raw' stream for the lan (highest quality), and a downsampled stream for the internet).

here's the command line for a double stream:

vlc -I http --extraintf rc --control http:rc --rc-host :4800 --http-host:7000 --no-rc-show-pos --volume 512 --spdif -vvv /home/laptop/all.m3u --random --sout-keep --sout '#duplicate{dst=display,dst="std{access=http,mux=raw,url=192.168.3.2:8000}",dst="transcode{acodec=vo rb,aenc=vorbis{quality=.5},ab=16,samplerate=22500,channels=2}:standard{access=http,mux=ogg,url=192.1 68.3.2:8888}"}'

here's single stream:

vlc -I http --control http:rc --rc-host :4800 --http-host :7000 --no-rc-show-pos --volume 500 --spdif -vvv /home/laptop/all.m3u --random --sout-keep --sout '#duplicate{dst=display,dst="std{access=http,mux=raw,url=192.168.3.2:8000}"}'

believe me, getting the apostophes and quote marks, commas, spaces, expressions, etc in just the 'right' order was a labour of love (and i still don't know the whys and wherefores, just that it works.)

if you forge ahead with either of these commands, it's important that you actually open a telnet instance (telnet localhost 4800 (or 192.168.3.2 4800)), otherwise vlc's cpu usage is in the 80's....

almost lastly, i'll explain what each does:

double stream:
vlc opens with an http interface on port 7000 and a telnet interface on 4800. it plays the playlist 'all.m3u' randomly. it keeps the stream alive between songs. it 'streams' the output to display (local sound), in raw format to port 8000 (for the lan), and sends a downsampled (.5 quality, 16 bit, stereo, ogg) stream to port 8888.

the single stream:
um, same thing without the second stream.

lastly, i use madman media library tool to compile the playlist. i searched forever to come up with a suitable playlist manager, tried many (couldn't get some to compile, so i can't say i actually tried them....), and finally settled on madman. it's not perfect, but it does the trick (15000 songs in database), though i have to send the playlist to xmms in order to save it. again, if anyone has a better solution, i'm all ears.

cheers,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MP3 player, monted but no access English_Man Mandriva 5 04-04-2006 09:27 AM
Rio Forge mp3 player, flash card access ampersand Linux - Hardware 5 12-14-2005 02:20 PM
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
Flash Drive or MP3 Player, slow access underscorelinux Linux - Software 0 10-05-2005 10:48 AM
vfat mp3 player corrupt files cs-cam Linux - General 2 01-17-2005 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration