If true, can I do something like this?
cat /dev/port > storage.file
TIA
Dave
I don't have an answer for your question, but if you are trying to grab a
stream there may be other ways. If you right click the station in
rhythmbox, and choose properties, you can find the url of the stream.
Sometimes wget will work to grab a stream.
wget http://radio.hbr1.com:19800/trance.ogg
Sometimes the real stream is a step or two farther, for example:
http://media.hiof.no/streams/m3u/nrk-alltid-klassisk-172.ogg.m3u
will fetch the file "nrk-alltid-klassisk-172.ogg.m3u"
This file contains the string:
http://radio.hiof.no/nrk-alltid-klassisk-172.ogg
So the final command of:
wget http://radio.hiof.no/nrk-alltid-klassisk-172.ogg
will grab the stream. As wget is grabbing the stream to a file, you can
open another terminal and use mpg123 or ogg123 to play the file that wget
is creating.
If your streams are just mp3 or ogg you can also try "streamripper" to
grab the stream, and break it up into songs with proper names if lucky.
That most likely won't work. But you can achieve the results with i.e.
mplayer. Something like this: mplayer -dumpstream -dumpfile radio.mp3
http://url.of.the/radio
There's similar feature in many of the stream players, but I'm not
too familiar with them. VLC atleast can do the trick with nice GUI
frontend.
--
Take
you can definitely do this in vlc.