Monthly Archive for September, 2009

Update your rss feed

..to point to http://blog.amromousa.com — I switched to Posterous recently.

How To: Get the m4a from Smule’s “I Am T-Pain” app

Hilarious app. So I monkey patched Smule’s javascript to get the m4a URL. Lame that they don’t just give a link.

1) Record a song

2) Share it

3) Go to Smule’s play page in Firefox

4) Open up Firebug and paste this into the console:


sendPlayerAction = function(action, param) {
var url_prefix = 'http://smule-media-app.smule.com/tpain/';
var file_ext = '.m4a';
var file = url_prefix + param + file_ext;
var player = getPlayer('playercontainer');
console.log("FILE URL: " + file);
player.doAction(action, file);
};

5) Hit enter

6) Hit play and the file url will be printed into the console

7) Download it w/ your favorite HTTP client and you’re set