Make movie top 5 based on number of plays, fall back to play time
Description
In this example Oppenheimer was player 6 times vs The creator and Napoleon 8 times this year. Because Oppenheimer is a longer movie is it n1 but it should not be.
In this example poor things is the only movie that was played twice but it is 3rd in playtime.
Desired behavior
For movies only, order by default based on number of plays, if a tie you can fall back to play time.
Bonus suggestion: add a piece of text somewhere on the page with a quick description "top movies based on watch time" to make it clear to users what the ranking is based on.
Additional context
No response
The reason I opted for going with time instead of plays, is that a play doesn't neccessarily mean a full play. I'm open to adding a toggle for sorting style in the settings, but it would be global, not by library.
Fair enough. Would it be possible to add least add a descriptive label to the pages that shows what the top 5 is based upon so users don’t have to guess?
A sort by filter is now available. However, when the play counts are even, it does not fall back to duration. That's not the way the Tautulli API returns the data and since Plex Rewind is fully dynamic, it's not feasible to make expensive calculations and additional fetches on our end to achieve this behaviour on every render.
For now, the sort by filter now works in the same way as the same filter in Tautulli.
:tada: This issue has been resolved in version 4.1.0-develop.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: