i only make crappy scripts. i certainly didn't have anything to do with creating the component.
anyway, i had a look at the data i can get from last.fm and it's a bit odd. only the toptracks and topalbums feeds return playcounts but they don't seem to correlate with anything on the website. for example, i see the top track for who i'm listening to has 59,000 plays. i thought this was far too low so checked the website and it has ~1.9 million. the only other playcounts i can see are for the last week (1438) and the last 6 months (21,600). i have no idea where the 59,000 is coming from so i think it's a bit pointless showing it. obviously i double checked the raw data from last.fm so my script is not at fault.
edit: if you want to see for yourself, you can add this code to the panel. on line 30, you find this....
case li.items > 0:
li.draw(gr);
break;
replace it with...
case li.items > 0:
li.draw(gr);
if (li.lastfm_mode > 2) {
for (i = 0; i < Math.min(li.items, li.rows); i++) {
p.right_text(gr, li.data[i + li.offset].playcount.addCommas() + " plays", p.list_font, p.textcolour_hl, li.x, li.y + 15 + (i * li.row_height), li.w, li.row_height);
}
}
break;