installing RealPlayerGOLD.bin

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

installing RealPlayerGOLD.bin

Postby Circulus_Equatorus on Thu Jan 28, 2010 8:59 pm

I went to REAL to get a better Player with Streaming Radio. They have a download for Linux called RealPlayerGOLD.bin and their help page said to use this command (CLI) to mark the binary as an executable before you try to extract the file.
chmod +x RealPlayerGOLD.bin
How do I use Terminal to do this.
where do I put the file realPlayerGOLD.bin?
Is it safe?
:!:
Circulus_Equatorus
Level 1
Level 1
 
Posts: 22
Joined: Thu Jan 28, 2010 8:49 pm
Location: Amherst, MA

Linux Mint is funded by ads and donations.
 

Re: installing RealPlayerGOLD.bin

Postby pompom on Fri Jan 29, 2010 4:24 am

Welcome to Linux Mint!

The .bin file is distributed as a "script" file so that you can acknowledge the blooming end user license agreement. You need to add privileges 'chmod +x RealPlayerGOLD.bin' and run it inside a terminal with './RealPlayerGOLD.bin' the same way you run other commands. You can run these kinds of files only if you obtained them from a "trusted" source. It's OK to leave the file in /home/$USER directory. If you are ready to ditch the EULA, you cannot go wrong with mplayer

Code: Select all
sudo apt-get install mplayer


Now to connect to a stream, you need to provide mplayer with the URL as in

Code: Select all
mplayer http://www.liveireland.com/ch2high.pls (mp3)
mplayer http://www.liveireland.com/liveAACplus.pls (AAC+)
mplayer -playlist my_mp3_favorites.pls


If you find some favorites on http://www.youtube.com, you are only two steps away from listening, if you have the right script

youtube-dl.py.gz
(12.88 KiB) Downloaded 20 times


You extract the file with 'tar xvzf youtube-dl.py.gz'. Once you add executive privileges 'chmod +x youtube-dl.py', you can fetch your favorites with

Code: Select all
./youtube-dl.py http://www.youtube.com/watch?v=BTg4UBowMdc
mplayer -dumpaudio BTg4UBowMdc.flv -dumpfile Fuga.mp3
(for a very long song name)
rename Fuga.mp3 Henryk\ Szeryng\ Plays\ Johann\ Sebastian\ Bach\ Fuge\ in\ A\ Minor.mp3
(using ln -s /path/file alias)
ln -s /home/Henryk\ Szeryng\ Plays\ Johann\ Sebastian\ Bach\ Fuge\ in\ A\ Minor.mp3 Fuge
mplayer Fuge (or any .avi .flv .mp3 .ogg, etc. file)


The magic "BTg4UBowMdc" is the video file name, the script saves it as a Flash Player Video file ".flv". The beauty is that mplayer also plays .flv video files. Each YouTube video file has its own magic file name. The only downside is that music files on YouTube are 22.5 kHz unlike the typical 44.1 kHz audio files. Since you are not likely to have "number" files, you can make symlinks to your favorites using numbers 1 to 40 to get your own top 40. If you forget what's number 1, use 'file 1' to show you the link. To get your playlist going

Code: Select all
find /home/music_library/ -maxdepth 3 -type f -iname \*.mp3 | sort > my_favorites.pls
mplayer -playlist my_favorites.pls -loop 0


Cheers,

pompom
"This is Linux. It gives you cute mascot and enough rope to hang yourself." --- Miquel van Smoorenburg
pompom
Level 4
Level 4
 
Posts: 218
Joined: Mon Dec 14, 2009 2:27 am
Location: Komandorsky Archipelago, Kamchatka Peninsula


Return to Newbie Questions

Who is online

Users browsing this forum: tmcgoo and 45 guests