Auto-Rating (variables) component 2008-05-25 21:09:54 As Peter, foosion et al have made abundantly clear many times: 1) Title formatting is not suitable for calculations 2) System date/time messes with foobar's UIWhat is clear is that to create an auto-rating scheme, the relations between date (added, first played etc.) and some form of play-count are required. The most accurate play-count is: "total seconds played" / "track length in seconds".So, if there was a little man with a stop watch in one hand and a clock in the other, and all he did was watch foobar2k's header, and every time it changed he noted the filename/path in a notebook and hit his stopwatch. That would record the perfect play-count and would simultaneously get rid of the whole %skip% issue. So let's say this little man is a component, and his note book is an SQL Database.In the DB the component records the following info: 1) Filename/Path2) Track Length (in secs)3) Total Recorded Played Time (in secs) - (keeping a running total)4) Current TimeThe component looks up the following info from the official Playback Statistics component.- Added- First Played- Last PlayedAnd calculates the following: - Number of Days Since Added- Number of Days First Played- Number of Days Last PlayedAnd stores all these values in the DB. NOTE: 1) Any system time function is occuring completely outside foobar's core. 2) No %title_formatting% is being usedThen, either the same or a complimentary component (perhaps with a calculating script??) takes the following numbers: Track Length (secs)Running Total Recorded Played Time (secs)Number of Days Since Added (days)Number of Days First Played (days)Number of Days Last Played (days)And does some calculation (which is open to scripting input by users???):The component outputs the result as a meta-data value in the form of %title_formatting_result% which can then be picked up by the foobar2k core as any other piece of meta-data. A further discussion is how often the component would offer up the data to foobar (hourly, daily, on startup etc ...).If this was possible it would mean that (AFAIK) topdownjimmy's hotness algorithm, foo_DAR, and also (if he gave permission) big_berny's Media Monkey AutoRateAccurate ratings schemes (as well as others, no doubt) would be all potentially be available to the foobar user in one component. So with possibly a single component, users would be able to select from a range of auto-rating schemes and, in addition, be able to tune the ratings algorithms to their satisfaction [AFAIK all the above allow (or plan to allow) tuning, so users could easily (with sliders) select the weightings of key variables]. Questions:1) Is this possible?2) Would this avoid the system date-time repaint glitch issues Peter discussed? 3) Could it be done in such a way that avoids really annoying the foobar2k devs?C.