radio.blog and mp3player.swf
(and also for mp3player.swf)
radio.blog has a nifty flash player that you can download for free.
I've had trouble with some sites when playing their songs; the server is just too slow. So I was wondering if I could just grab the songs directly...
After reading the installation instructions, I knew that the player's configuration file is called config.xml, located in the same directory as the flash player radioblog.swf. In config.xml, the playlist path attribute points to the playlist, for example
<playlist path="sounds/playlist.php"/>
<track trackMod="1120918032"
title="01 5'Nizza - Surnaya"
path="sounds/01 5'Nizza - Surnaya.rbs"/>;
The .rbs files are actually mp3's.
ExampleTake a radio.blog player from a popular mp3 blog as an example, .PLAY . PAUSE. -- http://playpause.free.fr/radio.blog/index.php. The embeded player is in the same directory as the page:<embed src="radioblog.swf?autoplay=" ...
which means that the config file is http://playpause.free.fr/radio.blog/config.xml. The playlist node in config.xml says that the playlist is located at http://playpause.free.fr/radio.blog/sounds/playlist.php.The playlists are also XML data; for this site the playlist is
<track trackMod="1120918032"
title="01 5'Nizza - Surnaya"
path="sounds/01 5'Nizza - Surnaya.rbs"/>
<track trackMod="1120917984"
title="02 Towa Tei - Bianco (feat. Arto Lindsay)"
path="sounds/02 Towa Tei - Bianco (feat. Arto Lindsay).rbs"/>...
<track trackMod="1120917027"
title="14 Rocio Durcal - Amor eterno"
path="sounds/14 Rocio Durcal - Amor eterno.rbs"/>
</tracks>
http://playpause.free.fr/radio.blog/sounds/01 5'Nizza - Surnaya.rbs.
Winamp can play this song directly.
FLASH!.PLAY . PAUSE. no longer features radio.blog, they're now using a new flash player called mp3player.swf
http://www.playpause.net/flash_mp3_player/mp3player.swf.
Using a flash decompiler, I found that the playlist file is called mp3player.xml, locatated in the player's home directory http://www.playpause.net/flash_mp3_player/mp3player.xml. The file's are located in the mp3 directory, the XML defines the file names and song titles:
<?xml version="1.0" encoding="UTF-8"?>
<player showDisplay="yes" showPlaylist="yes" autoStart="yes">
<song path="mp3/01.mp3" title ="Music Hall : Roger Roger" />
<song path="mp3/02.mp3" title ="I Am Music : Common featuring Jill Scott" />
<song path="mp3/03.mp3" title ="Music : Leela James" />
<song path="mp3/04.mp3" title ="I Am Music : Timbaland & Magoo featuring Aaliyah & Static (from Playa)" />
<song path="mp3/05.mp3" title ="Music Selector Is The Soul Reflector : Deee-Lite" />
<song path="mp3/06.mp3" title ="Let The Music Use You : The Writers" />
<song path="mp3/07.mp3" title ="We Got The Muzik : Sebastian Ingrosso & John Dahlback" />
<song path="mp3/08.mp3" title ="Pop Muzik ('89 Reshuffle) : M" />
<song path="mp3/09.mp3" title ="El Musica (Original Mix) : Osunlade featuring KB" />Happy hunting!
<song path="mp3/10.mp3" title ="Music : Sertab Erener" />
<song path="mp3/11.mp3" title ="You And The Night And The Music : Mark Levine & The Latin Tinge" />
<song path="mp3/12.mp3" title ="Music Like Dirt : The Lyrics" />
<song path="mp3/13.mp3" title ="That's What I Call Sweet Music : Jean Goldkette & His Orchestra" />
</player>
tags: mp3 radio.blog winamp blogging weblog