How to export any playlist from Turntable.fm

Owen Evans:

Forgot to add, in order to run Jim’s script just create a bookmark in your browser and paste the script into the URL field, then click the bookmark when you are in the room.

September 11 at 10:29am

Tully Mully:

You’ll have to run the script for each playlist btw.

September 11 at 11:46am

Jakob Harder Holmelund:

javascript:(function(){
var ids=turntable.playlist.fileids,
tracks=turntable.playlist.songsByFid,
output=[],
meta={},
item="";
for(var i in ids){
meta=tracks[ids[i]].metadata;
item=meta.artist+" ; "+meta.song;
if(meta['album']) item+=" ; "+meta.album;
output.push(item);
}
output.sort();
var o=$('<textarea style="width:640px;height:480px;"></textarea>').text(output.join('\n'));
var d=$('<div id="qqq" style="position:absolute;top:0;left:0;z-index:99999;"><a href="javascript:$(\'#qqq\').remove();" style="background:#000;color:#fff;">[close]');
d.prepend(o);
$('body').append(d);
})();

September 11 at 1:06pm

Jim Herrero:

Tab-delimited list:

javascript:(function(){
var ids=turntable.playlist.fileids,
tracks=turntable.playlist.songsByFid,
output=[],meta={},item="";for(var i in ids)
{meta=tracks[ids[i]].metadata;
item=meta.artist+'\t'+meta.song+'\t';
if(meta['album'])item+=meta.album;
output.push(item);
}
output.sort();
var o=$('<textarea style="width:640px;height:480px;"></textarea>').text(output.join('\n'));
var d=$('<div id="qqq" style="position:absolute;top:0;left:0;z-index:99999;">
<a href="javascript:$(\'#qqq\').remove();" style="background:#000;color:#fff;">[close]');
d.prepend(o);
$('body').append(d);
})();

This should copy-paste directly into Excel quite nicely

September 12 at 7:09pm

(all credit goes to those awesome peeps who posted this in the Facebook group. Please contact me if you’d like to be removed from my blog, I’ll add your TT dj name instead!)