LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-09-2002, 10:23 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
Linux Project - Remote MP3 machine


I have a old 180mhz machine that I was wanting to use as a mp3 player that is controllable via other machines on the lan.

I've seen a few projects to control mpg123 via web-based control but I forgot the names and cannot seem to find them. Anyone know of any? Or anything similar for a dedicated mp3 storage/player that i can keep running 24/7?

I don't want the music to stop when i shut down machines PLUS this would be good to keep this 24/7 process off my workstation

Don't want the machine to have monitor/keyboard, it wont be used as a workstation, can just use ssh for maintence.
 
Old 06-09-2002, 10:53 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
check this out
http://moemusic.sourceforge.net/
 
Old 06-09-2002, 11:38 PM   #3
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
excellent! thank you very much. I have to look for more of these, I used one a while back, didn't need mysql or java... was all php. really nice too. just never got it working... never spent a lot fo time on it aswell so... who knows.

thanks again
 
Old 06-11-2002, 10:33 AM   #4
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
actually, i just wrote some software that i released just yesterday! it's called music.box, and i wrote it using PHP run in apache. it's designed to control XMMS (which has way more options than mpg123) and is just all around better.

please let me know what you think if you download it! :-)

http://www.endrium.com/pub/music.box-0.2.0.tar.gz
 
Old 06-11-2002, 04:33 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Hum Nice I will try it I think
 
Old 06-21-2002, 08:41 PM   #6
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
Just downloaded it! I'll be honest with you, I haven't had much expirience with setting up such a project yet.

With your software, you can control xmms on a remote machine to play music out of it's local soundcard, NOT stream? Thats what Im looking for. I don't have much to work with for hardware, does xmms NEED x11? How is it on resources?
 
Old 09-03-2003, 09:11 PM   #7
amocjr
Member
 
Registered: Aug 2003
Location: Connecticut
Distribution: Mandrake, Debian
Posts: 39

Rep: Reputation: 15
I'm trying to do basically the same thing -- create a web front end to play mp3's over the server's audio card, which is attached to my stereo. I would like the server to be headless (no monitor or keyboard) and to be able to control it using a browser from any one of the several computers attached to my LAN (a mixed environment of Windows and Linux).

I've been trying to use the system() and/or exec() functions in PHP to execute mpg123, but to no avail. I can execute other shell commands using system() and exec(), such as ls, so I believe that PHP is working correctly, but literally nothing happens when I try either system("mpg123 [filespec]") or exec("mpg123 [filespec]") -- I just get a blank page in the browser (except for some text I echo'd to make sure the page was being served). I also know I am typing the mpg123 command correctly, because I can execute it successfully on the command line. Also, I have used the $return_var parameter for system() and echo() and get a return code of 11, unless I include an ampersand at the end of the command (e.g., exec("mpg123 [filespec] &")) in which case I get a return code of 0, but still no sound. I've tried using the full path for mpg123 (/usr/bin/mpg123) and have tried to various output options (mpg123 -oh), and still nothing.

Also, I just installed moemusic, referenced earlier in this thread, and while I have populated the MySQL database, can successfully display the web pages and select a song for the queue, I still cannot get any sound.

I'd prefer not to have to have X-windows running on the server (memory constraints), which is why I am trying to do this with PHP and mpg123 instead of xmms.

I'm running Mandrake 9.0, Apache 1.3.26, and PHP 4.2.3.

Help!

Thanks.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Remote access/Desktop Linux from a Windows machine Zed Supremus Linux - Networking 6 09-04-2011 12:11 AM
Remote contol a linux machine from XP sboothman Linux - Networking 3 12-01-2005 01:33 AM
SUSE 9.3 Linux Laptop to Print on Linux Remote Machine -- How 1kyle SUSE / openSUSE 4 09-20-2005 10:02 PM
using linux to redirect remote vpn traffic to another remote machine brb5548 Linux - Networking 0 06-28-2003 09:07 PM
Open Linux Terminal from remote Windows machine m1ke Linux - Networking 5 11-12-2001 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 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