Last.fm - Percentage

By Arvid Last update Mar 22, 2007 — Installed 4,290 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 8 posts, 6 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
jesse User

doesn't show track titles for me, have a couple of other last.fm userscripts installed though.

 
T Upton Scriptwright

I think a neat addition to this script would be separate percentages for the weekly charts, so that it shows a percentage of only the total tracks played in the date range that the chart is in.

I realize this might be a little weird to code, but it's just an idea. Thanks for the great script, and M Lenzen, I like that you added support for smaller percentages.

 
M Lenzen Scriptwright

If anyone's intereset I posted my changes here:
http://userscripts.org/scripts/show/2365

 
M Lenzen Scriptwright

Oh yea, the script is great btw.

 
M Lenzen Scriptwright

I found that whole percentages weren't detailed enough for me, if anybody else is interested, so I changed the percentage line to:

var percentage = Math.round((played / tracksplayed) * 1000) / 10;

and changed the cutoff to .1%

 
Henrik N Admin

Cool, though sometimes the percentages don't fit into the dark gray bar. Take a look at the 1 % artists in the "overall" listing here: http://www.last.fm/user/Malesca/

 
BooooooooB Scriptwright

Nice one.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel