If you're anything like me, you too have grown tired of the annoyances of applications either not working properly, or not working at all. In the Microsoft world, one normally deals with it, as one may not feel comfortable with either finding a different application to do the same job, or learning a new Operating System.
Many years ago, I'd switched to Linux & have been very happy with it. But, like in Microsoft, I've spent too many hours trying to get applications working properly. Much of the time, this is due to applications being written either for a different distribution, or, in some cases, by badly written software. But, in all my trials of different pieces of software to do what I need or want to do, I've found that keeping things simple is the key. Why use an application with a front-end, a Graphical User Interface, if a text-based application will not only install, but will work with less likelihood of crashing?
So, becoming fed up with the gui, I've begun the process of finding applications which work from the console (or Virtual Terminal) without having to open an XWindow session.
Among the things I do daily, is listen to radio streamed via the Web. One of the stations I've been listening to most every day is a station on the North Shore of O'ahu, Hawaii -- just one of many playing Democracy Now, which uses RealMedia to stream their broadcast. RealAudo doesn't write their software to work from the command line, & neither does their open source project Helix.
Of the few console RealAudo stream applications I've found, I'd opted for the first one, which is only infrequently being worked on. TRPlayer, created by Matt Campbell, is very simple & clean. The others wouldn't install due to the fact I'm running Mandrake 10.0, but, IIRC, it does work in Slack, which places countless files in places many apps aren't aware of. This howto will be updated after I switch back to a more Linux-like distro. Give me more time, as I've only just got back to Seattle & don't yet have a land-line (or xdsl) & can't listen to anything, anyway.
First, in addition to downloading & installing RealAudio itself, one must obtain the RealSystem G2 SDK. As RealMedia changes their site so frequently, the link is to their home page. I found it, finally, by deciphering the links in their site map.
A side rant: WTF is the story with RealSystems? Even way back when in my M$ days, Real insisted on moving their software round their site with no links explaining where they'd moved either older or non-Windows releases &/or extras, like the sdk. And another thing: I can't count the times I've sent my resume to them hoping to be considered for even ~one~ of the positions they post on job sites for which I qualify. But have they so much as sent me an e-mail telling me that they'd received my resume? No. Is the fact they cater to M$ some indication they've taken that monster's lead in arrogance? I can't think of any other reason for their selfish, inconsiderate actions (or inactions).
I didn't, for reasons expressed above, spend a lot of time looking for any installation documentation for the SDK, but, typically, in any case, I'd found none. I untarred the file to find numerous files in a nice subdirectory structure, but, again, nothing about what to do with them. Matt was kind enough to tell me that the whole rmasdk_6_0 directory can go either in one's Home directory, or -- for system-wide use -- in /usr/local. I placed mine in /usr/local.
The next thing is something most -- at least those I've dealt with -- distros already have: slang library. If you don't have it, it's found easily via Google.
TRPlayer can be downloaded in, at this time, five different forms: a source distribution, a binary distribution for Linux, an RPM package, a Slackware package, or a Debian package from the TRPlayer home page.
If you download the source unpack it, change into the trplayer-1.2.0 directory & do the usual ./cofigure, make, & make install. But, of course, because I'm running Mandrake just now, this didn't work for me. It should in most other distros, though.
Because of differences between more current system files in Mandrake 10.0 & the Debian release on Matt's system, Matt had modified the current release of TRPlayer for me. In an e-mail, he explains:
There are significant differences between gcc 2.95.x and 3.x, meaning that a program compiled with one probably won't work with a C++ library that was compiled with the other. I have pretty easy access to gcc 2.95.x on my Debian system; it might not be so easy on Mandrake. So I've compiled a new trplayer binary using gcc 2.95.4 and glibc 2.3.3. It works for me, so I'm attaching it to this message (it's small).
A copy can be obtained here (I'm working on finding this): glibc-3.3.2-TRPlayer(sorry, can't find it). This is complete & can be run directly from the command line. I'd saved a copy of it in my home directory (but can't find it now) & ran chmod+x on it.
To run, simply enter:
./trplayer http://url.of/your.stream.rm
& you should see something like this:
$: trplayer http://url.of/your.stream.rm Contacting Buffering (13%) Buffering (26%) Buffering (39%) Buffering (49%) Buffering (62%) Buffering (73%) Buffering (85%) Buffering (95%)
It's just that simple. After buffering, your stream should start playing just as it would in RealPlayer, only you won't get a gui window.
My general
page | My personal hell
Me, Myself, & the Voices in my
Head
Copyright 2004-2006