dessalines / torrenttunes-client

DEPRECATED: A BitTorrent-based music streaming service.
GNU General Public License v3.0
358 stars 47 forks source link

How are Trending Songs/Albums calculated? #14

Closed Nutomic closed 8 years ago

Nutomic commented 8 years ago

They haven't changed at all in the past few days.

dessalines commented 8 years ago

That's true, right now for simplicities sake, trending just really means popular, sorted by plays desc.

This is a a little far back on my priority list, but I plan on implementing this algorithm to periodically fill extra sql tables that do trending by week, day, month, year, all-time, etc, for at least albums and songs.

http://stackoverflow.com/a/826509/1655478

Its literally just me working on this right now, so I'm a little swamped, but its on the radar.

Nutomic commented 8 years ago

Of course, I was mostly being curious.

Another idea would be to sort by most seeded (or give it as an option). Assuming that data is available of course.

dessalines commented 8 years ago

That's possible too, #_of_seeders is a column in that table as well.

dessalines commented 8 years ago

I've since come up with a better algorithm for trending.