jajuk-team / jajuk

Advanded jukebox for users with large or scattered music collections
49 stars 19 forks source link

Get order from unpadded file names #1991

Open DalalH opened 9 years ago

DalalH commented 9 years ago

In the tracks table, Track10 comes after Track1, Track2 comes after Track19 etc. tracklisting

bflorat commented 9 years ago

Could you please display the "order" column as well ? (select the column from the menu displayed when pressing the small icon at the upper right side of the table)

DalalH commented 9 years ago

The values are 0 everywhere

bflorat commented 9 years ago

When the track# (order) is not provided by the tags, jajuk can only sort tracks alphabetically. Then, "Track1" is shown before "Track01". You can either pad the file names with zeros ("Track01" and not "Track1") or try to get online tags to retag your files properly (select the directory -> right click -> Get tags online)

I re-qualify this ticket as feature request to be studied.

Note for the developers : it may be possible to detect that the file names ends or starts with a number but this number is not always a track number. Maybe could we take them into account when all the music files in a directory ends or starts with a number and then use this information as track number either during the refresh or at runtime (beware the performance issues). Sounds feasible but complicated and source of regressions.