calculate weighted average track rating based on track lengths
יש גרסאות של סקריפט זה עם קוד מעודכן. הצג את כל הגרסאות
Fixing two bugs: don't break if the first "track" is a disc title, and make sure everything still fires if the page is opened in a new tab.
Fixing bug that broke weighted averages on releases whose numbers weren't just numbers.
Made it so multi-part tracks' ratings are handled correctly, including the exclusion of [silence] tracks
Made it so the weighted average in the track rating dropdown updates whenever you click the "save track ratings" button.
Fixed a bug that occurred in tracklistings where some tracks have lengths and others don't.
Updated to fix issues after recent update. Re-wrote the whole thing in more modern JavaScript too.