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! |
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. |
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 |
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! |
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. |