Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Book starts playback at beginning despite progress displaying correctly in the app #1312

Open
papodaca opened this issue Sep 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@papodaca
Copy link

papodaca commented Sep 4, 2024

What was the Problem?

Book that is in local media starts playback at beginning position despite progress displaying correctly in the app.

audiobookshelf_playback_at_zero.mp4

Steps to Reproduce the Issue

  1. have a book with playback progress
  2. add the book to local media (verified that if I delete the local item, the playback resumes from the correct position)
  3. Wait for app to connect to server and load latest state from server.
  4. Start playback.

What was Expected?

The book should start at the stored and displayed progress position.

Phone Model

Motorola g32

Phone OS

Android 14 (LineageOS)

Audiobookshelf App Version

Android App - 0.9.76

Installation Source

Google Play Store

Additional Notes

I believe I am enrolled in the Google Play beta program for this app if that makes any difference. version displayed in the app is 0.9.76-beta, server version v2.13.3

@papodaca papodaca added the bug Something isn't working label Sep 4, 2024
@nichwall
Copy link
Contributor

nichwall commented Sep 4, 2024

This seems like a problem with the file, as streaming works correctly but local playback does not.

When you are streaming, does the top of the player say "Direct" at the top?

@papodaca
Copy link
Author

papodaca commented Sep 4, 2024

Indeed it does say "direct", and after redownloading it now says "local" and started at the correct position. It even starts at the correct position if I start the app fresh. Local playback did work, as in I could hear the beginning of the book and progress position was not respected. Just some more information, I do most of my listening via desktop browser and occasionally try to pick back up on mobile, when progress syncs properly.

@mihailim
Copy link

mihailim commented Sep 5, 2024

After you download the audiobook to local storage and go to it but before initiating playback, does it by any chance say the following on a yellowish background?

Media is linked to this server but was downloaded by a different user. Progress will only be synced to the user that downloaded it.

I've noticed that happening since upgrading the server to 2.13.2.

Update: For what it's worth, I solved the specific issue I mentioned above in this comment by basically nuking all local app data -- deleted all locally downloaded items, deleted app cache and storage, logged in again, downloaded the books again, and the issue is gone. I have a feeling this may be related to #773 (since in Android's permissions view the app didn't have any permissions requested, but there seems to be no way of forcing the app to re-request them) even though I was using local app storage instead of a different folder -- but that link to 773 is pure speculation on my part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants