LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-13-2007, 12:11 PM   #1
rewtedesco
Member
 
Registered: Oct 2005
Location: Massachusetts
Distribution: Suse 10.0 /XP/ FC5 & 6
Posts: 93

Rep: Reputation: 16
Play the same music on all speakers in the house


In short: LAN as music machine. One PC plays music, the others play along in real time, no perceptible delays. How?


If I'm cleaning up I like to have the house full of music: everywhere. There are three PCs in different locations (running FC5 or FC6). Each has simple but sufficient audio capabilities. If I can make them all play the same music at the same time, I'll be dancing and I will clean up. - Otherwise, the place stays a dump! ...

But I'm trapped in shiny GUI's of things like VLC media player, It's fancy and cool but the problems are hidden behind a pretty interface. The messages in the message window are completely cryptic. Read the manuals back and forth (in particular VLC) but it has too many options, and the I suspect the problems are mainly about security...


But it's got to be possible:

One PC plays a list of music (from ogg/mp3/wav), and sends simultaneously a signal stream (whatever encoding of audio) to all other PCs in the LAN. Each other PC grabs the signal and sends it to /etc/dsp. Technically it shouldn't be a big deal. (click click click all those ancient and beautifully simple working devices of unix/linux. Open a socket here, write to it, someone else opens the same, reads it and sends the stuff to the an audio device. You think it should be easy. Given all the many possibilities to choose from, somehow I get the feeling that it may be easier to reinvent the wheel and putting it together in C-code than understanding which of all the possible players and letter salad machines will do the job.

Basically what I'm looking for is clear understanding of all the prerequisites that are necessary to do this. I suspect the failure to get this to work has to do with too much security and firewalls. Do I need apache installed? Do I need holes in firewalls, do I need to moderate selinux even more? What needs all to be there to turn all my PC's into audio slaves of one music master so I can clean up?

If you're writing here (like me?) because you're procrastinating to clean up your own house, think again. I will start now, sadly, to clean up only with just a little music in the kitchen area - not loud enough.

Last edited by rewtedesco; 01-13-2007 at 12:14 PM.
 
Old 01-13-2007, 12:17 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You want a music streaming solution, like Icecast. On Fedora, just:

yum install icecast

It's in the Extras repository, which is setup by default.
 
Old 01-20-2007, 01:55 AM   #3
rewtedesco
Member
 
Registered: Oct 2005
Location: Massachusetts
Distribution: Suse 10.0 /XP/ FC5 & 6
Posts: 93

Original Poster
Rep: Reputation: 16
It's sort of a status report: I took the hint and tried to inform myself about icecast and ices, then installed all these (with yum and yumex, since I'm on FC6). Found the documentation at icecast.org, and of course got stuck reading through the many posts of frequently asked and usually never answered questions. Finally, after getting a little more used to the letter salad, and arriving at a guts theory about what exactly a "mount" in the ice world might be (not explained in any one of the "tutorials" that I found), I began to fiddle around with the configuration files (which, after installation of the software are already in /etc/, at least in FC6).
I would like to pass along here that it's pretty futile to read most of the howto's until you have figured out what exactly it is that you have on your system after installing icecast, ices and libshout. Fortunately, before trying to run for example ices and mocking around with things like /etc/services, i used simply the administration tools and found: a) ices is already running. b) icecast is ready to be declared a service. c) all the special start and stop scripts are already in /etc/init.d, and I bet it's the same in other recent distros. Before you hack anything, do a little find as root:
#cd /etc
#find . -name "*icecast*" -print
#find . -name "*ices*" -print

Also try this in /var and /usr - Everything's already there, basically, for recently installed distros. The scripts in /etc/init.d are elegantly written: no tutorial needed. Result: Still no all-house radio, but did some cleaning up, and I understand a little more about all the little gnomes and elves in /etc, /etc/init.d and elsewhere.

... The rest of my daily procrastination time from real work I spent playing amarok, trying to get this relentless (old school) mysql talk with it, and fiddling forever with the 5 million setup possibilities for a desktop under KDE (I think they should order one OS and one way of setting up a desktop for people like me) ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
play music m_talebi_z Ubuntu 10 06-17-2006 04:06 AM
LXer: China president at Gates house, not White House LXer Syndicated Linux News 0 04-16-2006 09:33 PM
cant play music king kong killa Fedora 2 06-11-2004 09:36 PM
Cannot play music on Mandrake 9.2 p_yuval Mandriva 4 05-29-2004 12:58 AM
my music won't play JamDunc Linux - Newbie 4 08-03-2003 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 AM.

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