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][Android Auto]: Ability to refresh the UI when internet connectivity is established #1457

Open
armanckeser opened this issue Jan 27, 2025 · 5 comments

Comments

@armanckeser
Copy link

armanckeser commented Jan 27, 2025

Sometimes when I open the app on Android Auto, I only see the "Downloads" section. I presume this is due to internet instability at the time of building the UI. From the code (I haven't written any applications in Kotlin or AA), I see that this UI happens when there are no items in the library.

My problem is that, I can't find a way to refresh this UI when I know I have internet. My best hope is to search for the audiobook, but the search also almost never works.

Is there a way to redraw the UI when using Android Auto (When I "turn off" the application and "turn on" again, the issue persists, I believe this is due to the app not actually turning off, but I couldn't find a way to force it)?

If not, could we add a refresh button to the UI to manually refresh the BrowseTree?

(PS: thanks for this app, it is one of my most used ones, and got me listening to so many books that otherwise I might not have)
Thanks!

Phone Model

Oneplus 9

Phone OS

Android Oxygen OS 13.1

Audiobookshelf App Version

0.9.79-beta

Installation Source

Play Store (I think? maybe F-droid)

@armanckeser armanckeser changed the title [Android Auto] Ability to refresh the UI when internet connectivity is established [Bug][Android Auto] Ability to refresh the UI when internet connectivity is established Jan 27, 2025
@armanckeser armanckeser changed the title [Bug][Android Auto] Ability to refresh the UI when internet connectivity is established [Enhancement][Android Auto]: Ability to refresh the UI when internet connectivity is established Jan 27, 2025
@kymahi
Copy link

kymahi commented Jan 30, 2025

Kinda on this topic, it's worse since 0.9.78-beta. I downgraded to 0.9.77-beta due to the battery issue and the listening tab showed up every time. On both 78 and 79, the listening tab is now missing every time I plug in.

@ppoloskov
Copy link

I'm experiencing this as well. My Samsung S22 Ultra, Android 14, OneUI 6.1 didn't have this problem before 0.9.78-beta.
Also, I don't know if this is a connectivity issue since this happens indoors and outdoors.

@advplyr
Copy link
Owner

advplyr commented Feb 4, 2025

The update that was made is making many more API requests and so if you have a slow network connection it can be timing out or it may just take a while before the other sections show up.
We're going to have to make some changes with that update.

@armanckeser Can you update your issue with the app version, your phones android version and device/model for reference. We use Issue templates that ask for all this info but you selected blank when you opened this.

@armanckeser
Copy link
Author

armanckeser commented Feb 5, 2025

@advplyr That's on me (but also a bit on Github) sorry about that. I looked at the code directly and apparently when you choose a line in the code and press "Reference in a new issue" it brings up a blank issue bypassing the issue templates

@ppoloskov
Copy link

@advplyr thank you for the explanation. I think it's not speed but rather latency, but most likely timeout issue

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

No branches or pull requests

4 participants