advplyr / audiobookshelf-app

Mobile application for Audiobookshelf
https://audiobookshelf.org
GNU General Public License v3.0
1.28k stars 173 forks source link

[Bug]: Chapter Track progress and length shows Total Track progress and length #1364

Open TinkerStinker opened 11 hours ago

TinkerStinker commented 11 hours ago

What was the Problem?

If you select both "Total Track" and "Chapter Track" both progress bars are shown. The "Chapter Track" shows the same length and progress as the "Total Track". I think this worked properly at some point but does not seem to be working now.

Steps to Reproduce the Issue

  1. Select book from library
  2. Select the progress bar at the bottom of the screen to view the book player/progress detail
  3. Select the hamburger button (top right)
  4. Select the checkbox for both "Total Track" and "Chapter Track"
  5. Notice both progress bars near the bottom of the display
  6. Both progress bars show the same length and the same current position

What was Expected?

I would expect the "Total Track" progress bar to show the full length of the entire book (multiple hours) but the "Chapter Track" I would expect to show just the chapter length (normally less than 1 hour).

Phone Model

Pixel 8 Pro

Phone OS

Android 15

Audiobookshelf App Version

Android App - 0.9.76

Installation Source

Google Play Store

Additional Notes

It seems like this used to work but now it does not. Thanks for all the hard work! I love the apps!!!

Screenshot_20241105-081457

nichwall commented 11 hours ago

Does your audiobook have chapters? Screenshot_20241105-083229.png

TinkerStinker commented 11 hours ago

Yes, I do. I also have multiple mp3 files. Screenshot_20241105-083440

nichwall commented 11 hours ago

Are you streaming or listening to a downloaded book?

TinkerStinker commented 11 hours ago

Are you streaming or listening to a downloaded book?

I am listening to it downloaded

nichwall commented 11 hours ago

Do any chapters show up in the chapter list in the bottom right?

Does this happen with all books or only some books? If only certain books, what file formats work and don't work?

When did you download the book? (Server and app version, did you update either after downloading)

Did you download to internal app storage or shared storage?

Deleting and redownloading the book may fix it.

Screenshot_20241105-084245.png

advplyr commented 11 hours ago

Once a book is downloaded the chapters don't sync after that. So if the book got downloaded with no chapters then even if you add chapters later on the server the downloaded book will remain with no chapters.

advplyr commented 11 hours ago

Found it https://github.com/advplyr/audiobookshelf-app/issues/525

TinkerStinker commented 9 hours ago

Once a book is downloaded the chapters don't sync after that. So if the book got downloaded with no chapters then even if you add chapters later on the server the downloaded book will remain with no chapters.

I did not manipulate the chapters. They are how they came in when I first added the book.

TinkerStinker commented 9 hours ago

Do any chapters show up in the chapter list in the bottom right?

Does this happen with all books or only some books? If only certain books, what file formats work and don't work?

When did you download the book? (Server and app version, did you update either after downloading)

Did you download to internal app storage or shared storage?

Deleting and redownloading the book may fix it.

There are chapters listed (see below)

It has happened on the books I have listened to recently. I will try to check other books to look for a pattern.

I will have to look at when the book was downloaded. My phone apps update automatically so it is possible thing have updated since I downloaded. I will check this.

I downloaded it to internal app storage

I will try deleting the local file and re-downloading

Screenshot_20241105-103446