PaulWoitaschek / Voice

Minimalistic audiobook player
GNU General Public License v3.0
2.41k stars 368 forks source link

Bad authors and titles, when loaded from author-title-data folder structure #2453

Open ceskyDJ opened 4 months ago

ceskyDJ commented 4 months ago

Overview

Hi, at first I'd like to thank you for developing this good looking app with modern UI, simple usage and just the features audiobook should have.

I have a few books from various authors. My folder structure looks like this:

audiobooks/
    Walter Isaacson/
        Steve Jobs/
            First file.mp3
            Second file.mp3
            Folder.jpeg
    Karel Čapek/
        R.U.R./
            File with whole book.mp3
            Cover.jpeg

So, I used the last option in the initial setup process. It loaded (at least I assume that) all of the stored books, but loaded book titles and authors' names aren't always correct. Sometimes, it uses total nonsense like cryptic name of the book as book title and name of the author (e.g. <Unknown> and <UNKNOWN>) or name of the reader instead of the original author of the book. Names in the folder structure are completely fine (I double checked it). So, why you just don't use folder names for book title and name of the author, at least in problematic situations?

There is not way, how to fix the author name. So, app just displays bad information and I can't do anything about it.

How to reproduce

  1. Have folder structure of many books from many authors that looks like this (folder names are valid, in UTF-8, Czech language):
    audiobooks/
    Walter Isaacson/
        Steve Jobs/
            First file.mp3
            Second file.mp3
            Folder.jpeg
    Karel Čapek/
        R.U.R./
            File with whole book.mp3
            Cover.jpeg
  2. Open Voice at the first time.
  3. Select folder audiobooks and the 3rd choice in the initial phase (so, the app understand the folder structure correctly).
  4. Wait a bit since loading of found books take a while (it changes their state a few times).
  5. After loading is done (no displayed information changes), look at loaded books' title and their authors' names.
  6. See many invalid titles and names of authors. Sometimes there is <Unknown> or just bad author's name (name of the reader). There should be titles and names from the folder structure noted at the beginning.

Version

8.2.4

Android Version

Android 14

Device Model

Samsung Galaxy S22