DocMarty84 / koozic

Self-hosted media streaming server
https://koozic.net
Other
90 stars 12 forks source link

Albums greater than 10 tracks sorted incorrectly #18

Closed lxea closed 5 years ago

lxea commented 5 years ago

Hey, I've discovered that if an album has more than 10 tracks in it it is sorted incorrectly ie: image

DocMarty84 commented 5 years ago

Indeed, that's because of the "/20". Track numbers like:

will work. But you have "1/10, 2/10, 3/10..." and that doesn't work. That's an easy fix though, I will check today.

For reference: https://github.com/DocMarty84/oomusic/blob/0f4ea4a029b2915c918914ed656a384edcc495b6/models/oomusic_folder_scan.py#L535

DocMarty84 commented 5 years ago

Fixed with https://github.com/DocMarty84/oomusic/commit/2190011f440be9688158c15c244d2f2f39236100

Thanks for reporting!