LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-19-2004, 01:03 AM   #1
rsanfelice
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
Playing remote MP3 files


Hi!

I would like to be able to play from home (RH 8) the MP3 files
I have at work (RH 8) in a simple way (other than copying the files).
I have ssh access to my files.

My idea is to have xmms playing those files as if the files
were locally. Is there any way to create a directoy pointing
to those files in a secure connection? Or there is a way to
set up xmms to make ssh connections?

Thanks a lot!
 
Old 04-19-2004, 01:25 AM   #2
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
You will want to look into lufs.
http://lufs.sourceforge.net/lufs/
This will let you mount remote ssh filesystems on your system and then you can use them like local files. Streaming mp3's like this shouldn't be a problem as long as both connections are hi speed.
 
Old 04-19-2004, 05:52 PM   #3
Punker51
Member
 
Registered: Dec 2003
Posts: 37

Rep: Reputation: 15
if u have a windows machine on your network and want to play those mp3 form there, what i did is

installing and configuring samba
u map the network drive
play mp3s in windows
 
Old 04-19-2004, 07:01 PM   #4
randombob
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Streaming mp3 through apache

I have also been trying to set up my system so i can remotely access my mp3's. I followed a tutorial in linux format mag to use php and apache to slap a web based interface on the front. I have installed mpeg123 to play the mp3's themselves. Apache and PHP are up and running, and i have opened up /dev/dsp to all users as the tutorial suggests however when i open the page that should play my mp3 file the script doesn't appear to work. Code for the page itself is as follows

::

<html><head><title>MP3 page</title></head>
<body><pre>
<?
shell_exec("/usr/bin/mp3 play /tune.mp3");
?>
</pre></body></html>

::

The only thing i can spot that may not be right is that apache appears to run as "nobody". Willl this prevent it from accessing my soundcard or should the fact that it is open to all users override this? Oh and this is all under slackware 9.1.

Thanks in advance!
 
Old 04-20-2004, 12:02 PM   #5
rsanfelice
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
hyperx had the solution for me:

http://lufs.sourceforge.net/lufs/

Now I have a directory which is pointing to the remote MP3 files through a
ssh link. Works great!
 
  


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
playing mp3 sycamorex Linux - Newbie 11 11-20-2005 12:34 PM
Playing MP3 files tiredoflogins Linux - Newbie 2 10-02-2004 04:12 PM
rh9 hangs when playing mp3 files jamluv Linux - Software 5 05-19-2004 03:43 PM
Playing Mp3 files in RH9 Adam555 Linux - Newbie 7 05-06-2004 02:23 PM
playing mp3 files in Knoppix luminiscent Linux - Newbie 3 04-22-2004 10:42 PM

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

All times are GMT -5. The time now is 05: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration