Hotness 1.6.c.1

No Responses · December 9, 2006

Totally warran­ted subversioning!

My foray into MP3Toys was ulti­ma­tely short-lived, brought to a halt when I found what peo­ple were doing with Sin­gle Column Play­list for foo­bar, par­ti­cu­larly the playlist-embedded album art. Back in the foo­bar saddle, I also gave in and tried out the “offi­cial” Play Count com­po­nent, which I had avoi­ded for so long because it didn’t sup­port %FIRST_PLAYED%, and because I wasn’t sure I wan­ted my play­back sta­tis­tics only kept in the data­base — even though wri­ting them to the files posed a lot of trou­ble as well. Turns out, play­back sta­tis­tics sto­red by the offi­cial com­po­nent are less sen­si­tive to chan­ges to the files it’s kee­ping track of than the unof­fi­cial one, which means I only have to be a little care­ful to keep all my stats intact, while being able to play and track files that I’m still seeding.

This, along with the inva­lua­ble $cwb_datediff() func­tion pro­vi­ded by Bowron’s new foo_cwb_hooks com­po­nent, called for a rew­rite to the hot­ness code, which had been stag­na­ting in some mar­gi­nally com­pa­ti­ble 1.5 ver­sion since May. After seve­rely trim­ming the code down and robus­ting things up, I thought of a new and totally non-arbitrary way to sof­ten the blow hot­ness sco­res receive when songs are pla­yed. I hated seeing them leap to 100 every time, and this new sof­te­ning method makes so much sense, uti­li­zing exis­ting base­line cali­bra­tions to keep things a lot more inte­res­ting. How any­body tole­ra­ted the old method is beyond me.

Any­way, here it is.

I also dug up a lot of old screenshots this week and I’m plan­ning a nostalgia-fueled retros­pec­tive in the near future.

Leave a Comment or Subscribe