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

[Enhancement]: Save local progress over server #1355

Open
bjhiggins opened this issue Oct 27, 2024 · 4 comments
Open

[Enhancement]: Save local progress over server #1355

bjhiggins opened this issue Oct 27, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@bjhiggins
Copy link

Describe the Feature/Enhancement

I listen to audiobooks everywhere and make sure I have a local copy on my Android device. I usually start in the house - same network as my Audiobookshelf server. I then move to the car and continue the book in the car - my server is unavailable via the Internet so the progress is kept on the app. When I return to the house and restart the book, all progress from the car was lost.

I would like a feature so that the progress on the mobile app is preferred over the server. As this would likely be specific to this use case, perhaps an option in the app to enable/disable the feature.

This could be implemented so that if the progress on the mobile app is further than the server, use the apps progress. Of the other way around, use the servers progress.

In the Audible app, if you are listening from multiple devices - if the progress is not in sync, there is a pop up box explaining the two different positions and asks the user which to use

Why would this be helpful?

A feature allowing the user to determine whether the mobile app or server is the preferred point of progress would prevent users from losing their place in the book when changing locations.

Future Implementation (Screenshot)

Likely would be a Boolean checkbox in Settings to enable/disable the feature. Perhaps a more advanced implementation would have a pop up message indicating the difference with two buttons "Use Server Progress" and "Use Device Progress"

Audiobookshelf App Version

Android App - 0.9.76

Current Implementation (Screenshot)

No response

@bjhiggins bjhiggins added the enhancement New feature or request label Oct 27, 2024
@mattheys
Copy link

I have the same issue where progress offline is lost when reconnecting. I was thinking a solution could be using the most recent listened to device. So if you listened a bit on the phone offline but say only 5 mins, then went to a PC connected to the server and listened for a few hours. Which ever device had the most recent listening entry would then sync to the other device.

I however prefer your idea of a popup box giving you the choice in that situation as it could be different from time to time. Maybe it says you are at 2:53:23 on this device but 1:05:14 on the server which one would you like to keep.

@bjhiggins
Copy link
Author

After thinking about this - for my use case - the popup would need to work in Android Auto as well as natively in the app. With (what I assume) limitations of AA - not sure if it would be possible ...

@nintendoeats
Copy link

I have a similar workflow. I would very much like the implementation where the most recently updated listen status is respected. Right now it's basically like I have two different databases, one with the network on and one with the network off.

@Doublemyst
Copy link

Doublemyst commented Nov 11, 2024

I'm having the same issue .. Listened offline for 9 hours and when connected to the server, it got reseted: (had to manually reset the time to the 9+ hours)
Unbenannt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants