Audiotool board archive

Duplicating tracks while scrolling track pages down

stachu3478 · started 2021-05-22 19:17 · updated 2021-05-22 19:23

While i visit any huge page with tracks and i scroll down within a big time delay (hours) i get some tracks duplicated one or more times. Here is some example visual at Music > Tracks: https://snipboard.io/csmC6P.jpg

The bug makes playing tracks in a closed loop, so when ending playing track and starting playing duplicated one it starts from place where the first occurs. That makes me annoyed and i have to skip duplicated tracks to play next ones.

Steps to reproduce:

  1. Visit page with 50+ tracks and stay on (don't load all)

  2. Add new track so this will be visible on top of the page

  3. Scroll down the page to load some tracks

  4. One duplicate track should be seen on the page (first next to second)

I think the bug is there because new tracks are inserted or old removed then the order of these tracks changes and get fetched in wrong order.

I could fix this, when i would just validate new items coming from server if there are not already on the page.

Comments (0)