two machines, newbie question..
I have two linux boxes at home, both have ext3 filesystem.. I have some fine tunes stored on my lapto as MP3 and sometimes when I'd like to listen to those tunes while working on other computer... how to use those files.. I can access that machine using SSH but I don't feel like copying those files temporarily to my machine... Silmply question is, how to play mp3 that are not on my machine but on a machine across the room, so that the music plays on my machines XMMS. H_ip
p_p wrote:
Silmply question is, how to play mp3 that are not on my machine but on a machine across the room, so that the music plays on my machines XMMS.
NFS? Export the directory with the MP3s on the host machine, and mount that on the client. sjb
On Thursday 30 January 2003 2:03 am, p_p wrote:
Silmply question is, how to play mp3 that are not on my machine but on a machine across the room, so that the music plays on my machines XMMS.
Like many other things in linux, "there is more than one way to do it..." -- set up an FTP server on the machine WITH the files -- set up an NFS server on the machine WITH the files -- set up a WEB server on the machine WITH the files -- set up an SMB server on... [ok, you're getting the point, right?] in all of these cases, XMMS on the "client" machine [the one where you want the music to actually play upon] simply uses a different mechanism to "retrieve" the file and play it. Locally, it will copy it to the /tmp directory, play the file, and delete it when done. Since most MP3 files are only a few megabytes in size, this isn't a problem.
Here's an update to my earlier suggestion On Thursday 30 January 2003 2:22 am, Tom Emerson wrote:
On Thursday 30 January 2003 2:03 am, p_p wrote:
Silmply question is, how to play mp3 that are not on my machine but on a machine across the room, so that the music plays on my machines XMMS.
-- set up a WEB server on the machine WITH the files
As a "for example", here is what I've just done: 1) on a remote machine I created a directory within my web hierarchy called music [the chown commands allows the "web server" process to read the files in this directory, the chmod command allows my "normal" user to write files to this directory] [note also the "$" & "%" symbols simply indicates the system prompt, not that I'm running as "root" on that machine] % ssh remote $ cd /usr/local/httpd/htdocs $ mkdir music $ chown wwwrun music $ chmod +w music 2) I copied a bunch of files to that directory & made them owned/readable by the web server process $ cd ~/download/music $ cp *.mp3 /usr/local/httpd/htdocs/music $ ls *.mp3 >playlist.m3u 3) the list of files (playlist.m3u) is then copied back to my "local" machine $ exit % scp remote:/home/tom/download/music/playlist.m3u . 4) using an editor, I pre-pend the string "http://franky/music/" to each line (franky is a locally-known name for my webserver) 5) fired up xmms and "loaded" the m3u file -- ta-dah! I'm now playing music "served" from another machine!
Op donderdag 30 januari 2003 11:03, schreef p_p:
I have two linux boxes at home, both have ext3 filesystem.. I have some fine tunes stored on my lapto as MP3 and sometimes when I'd like to listen to those tunes while working on other computer... how to use those files.. I can access that machine using SSH but I don't feel like copying those files temporarily to my machine...
Silmply question is, how to play mp3 that are not on my machine but on a machine across the room, so that the music plays on my machines XMMS.
Use arts (which comes with the kde desktop). Artsd is a network aware sound deamon (that's all I know). -- Richard Bos Without a home the journey is endless
p_p
I have two linux boxes at home, both have ext3 filesystem.. I have some fine tunes stored on my lapto as MP3 and sometimes when I'd like to listen to those tunes while working on other computer...
kio_fish (http://ich.bin.kein.hoschi.de/fish/) can also be used, type "fish://user@remote.machi.ne" in the konqueror window. It should be in KDE 3.1, I use it in older versions. -- Alexandr.Malusek@imv.liu.se
participants (5)
-
Alexandr Malusek
-
p_p
-
Richard Bos
-
sjb
-
Tom Emerson