You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
Currently the top 25 videos are taken for the recently played but the algorithm is not correct. The latest video need to be the first videos on the list rather than the last. This is currently screwing up the recently played list if you have the max number of videos already.
The last paragraph doesn't make a whole lot of sense. Videos are placed on the end of the recently played list. If the video is placed after the top 25 then it will be dropped. Videos that were just played need to be put on the top of the recently played list rather than the bottom.
The text was updated successfully, but these errors were encountered:
I was a bit mistaken in my original diagnosis of this issue. Videos are placed at the end using push and I was taking the first 25 from the beginning of the array. I've changed that to take the first 25 from the end of the array.
Currently the top 25 videos are taken for the recently played but the algorithm is not correct. The latest video need to be the first videos on the list rather than the last. This is currently screwing up the recently played list if you have the max number of videos already.
The last paragraph doesn't make a whole lot of sense. Videos are placed on the end of the recently played list. If the video is placed after the top 25 then it will be dropped. Videos that were just played need to be put on the top of the recently played list rather than the bottom.
The text was updated successfully, but these errors were encountered: