(This feels like a glynor question...
)
I've just bought a new (old) car and I just put in a new (new) stereo. It's got a USB port on it, so hey, I can finally use MC's portable sync features. I'm starting to whip up some complex playlists but I've run into something that I think is insurmountable with the expression language. Is it possible to tabulate a numeric field and then perform operations on it?
My example:
I'd like to drop on a handful of albums that are well-liked by me. I've never used ratings – it's too much work on my part, plus it's kinda redundant, as the top albums get listened to a lot anyway – so that's not a criterion I can filter by. I was hoping I could use the expression language to add up the number of plays for an album and then divide by the number of tracks on the album, to get an average play count per song. This way I can have my random selection of tracks, expanded to full albums, and then put on some random albums whose average song play count is >4, let's say.
The way it is now
[File Type]=[mp3] [Number Plays]=>=4 ~limit=40,1,[Artist] ~a ~s=3900
gets me to a certain place, but say I have an album where there's one great track I've listened to a bunch but the rest is meh, if that great track was one of the seed tracks chosen by the ~limit, I'll get the meh album.
I've got some other playlists ideas I am trying to thwack out that are related and require some kind of computation (i.e. one of albums that were imported >3 years ago and have only been listened to once, a/k/a the Can I Delete These? playlist), so, if I can figure this one out, the man can eat fish for a lifetime, as they say.
Thanks!
Micah
PS for board admins: Have you ever thought it made sense to bust out a new board for these kinds of questions? Expressions, smartlists, regex, core commands, etc? Call it the hacker board or something...I think the last 10 topics I have posted (not about Mac feedback) are all on these subjects, but do they make sense in Windows board only (now that there is Mac and Linux), or maybe this question makes sense in Android, etc...