prologueapp / Prologue

Issue tracker for Prologue, the self-hosted audiobook app.
https://prologue.audio
28 stars 0 forks source link

Incorrect ordering of tracks in large albums #5

Closed excursus closed 3 months ago

excursus commented 3 years ago

Albums containing large numbers of files sometimes show tracks out of order. The order I have observed in an album containing ~1600 tracks is:

1024
256
768
512
1025
...

The pattern suggests integer overflow (possibly with track name ordering in order to break ties).

This may be a fairly remote corner case, although perhaps not so remote considering that some pretty popular books (the bible?) may be split up into large numbers of tracks.

YourMJK commented 1 year ago

Does it show the correct order when you look at the album in Plex?