INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: michaeljc70 on July 03, 2007, 11:23:30 am
-
I would love a field that basically rates tracks based on how often they are played, but weighted toward current play rather than older plays. I go through phases of listen to different things, and often use smartlists based on number of plays. Unfortunately, I have tracks with thousands of plays and the ones I am playing a lot currently, don't make it into the SmartList. Here's what I am envisioning:
-It would only need 1 numeric field, called maybe "weighted plays"
-There would be a starting date, say 1/1/1950 and that would be given a value of 1. Every day after that would increase by say .1 (or whatever).
-When you play a track, it would add whatever todays value is to this field. Therefore, more current plays receive more weight and plays in the past are discounted.
-It would be nice if you could set the factor that affects how much more the current plays are favored over older plays.
-
It may be possible to do what you want using expressions.
You would need to create a custom field (weighted plays say) that uses an expression based on the formula you specified. Then use a smartlist/viewscheme to pick tracks based on values obtained from that expression. So its doable.
An easier alternative may be to list only tracks that are not more than say a year or a few months old , that have x listens and/or not heard in x time.
Avoids the complexity with weights but is it as good ?
-
I haven't done any work with programming MC. Based on what you are saying, I take it there are hooks to execute code when a track is played?