TortugaPower / BookPlayer

Player for your DRM-free audiobooks
GNU General Public License v3.0
1.64k stars 195 forks source link

Sorting #423

Closed Resonanz closed 2 years ago

Resonanz commented 4 years ago

Feature

I just imported an audiobook onto my wife's iPhone. The chapters were titled:

Chapter One Chapter Two ... Chapter 25

Thanks for all the efforts -- we generally love your app !!!

pichfl commented 4 years ago

We can't support natural language processing for chapter names, as they could be in any possible language and books themselves might contain numbers which means this would never deliver reliable results. I can count in German and English and probably in Italian, Spanish, Latin and French, but I'm lost for Russian, Chinese, Japanese, Polish and the vast number of other languages on our planet, not counting for misspellings of numbers or worse.

Having said that, we should sort by original file name in the first place and use natural sorting (looking at numbers in the filename first before sorting alphabetically).

To clarify further, the original file name is the name of the file you imported into BookPlayer. We generally try to display nice names based on the IDE3 metadata of the file (which is what gives you "Chapter One" instead of chapter_01.mp3)

GianniCarlo commented 2 years ago

All imported files should be sorted by original file name 👍 by default