-
Notifications
You must be signed in to change notification settings - Fork 19
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
Re-check for mounted SD card #12
Comments
Thank you for the detailed bug report. Can you test one thing for me?
I wonder if the books will be detected after these steps. Thanks in advance! |
I am trying to arrange the proper test, but my grandma does not want me to touch her reader before she finishes the books she is reading :) |
Audiobooks are additionally rescanned when: - the application UI is shown - this should help if the ContentObserver is not called after files are changed. Hopefully this helps with issues like #17, - if no books are found during the initial scan rescan in 10 seconds which may help on devices where Homer Player is started before an SD card with audiobooks is attached (see #12).
The recent version rescans files in search of audiobooks 10s after the first scan if there was no content (and then every time the UI is started). |
After switching device to Kiosk mode, we have an ability to make the device boot directly to the application (after unlocking screen), which is awesome.
However, this has a sideeffect of starting app before SD card could have mounted and shows 0 books.
It can be solved by killing the app, waiting for the card to mount and then starting app again, but that requires going out of kiosk mode.
It would be nice if when app finds 0 books, it would re-check periodically for mounted sd card again after a timeout.
Device
Moto G 2014 ( XT1068 )
Reproduction steps
The text was updated successfully, but these errors were encountered: