LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Playing remote MP3 files (https://www.linuxquestions.org/questions/linux-software-2/playing-remote-mp3-files-171904/)

rsanfelice 04-19-2004 12:03 AM

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!

hypexr 04-19-2004 12:25 AM

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.

Punker51 04-19-2004 04:52 PM

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

randombob 04-19-2004 06:01 PM

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!

rsanfelice 04-20-2004 11:02 AM

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!


All times are GMT -5. The time now is 06:51 PM.