-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support for ".nomedia" folder. Avoid bloated mediadb and crash when adding to mediadb #36
Comments
There is more work than fixing the crash for this to complete: The old APhotoManager completely depends on the media database to show photos
Neccessary changes:
Note: In some cases adding a ".nomedia" file to the media-db succeeds in some cases the content provider prevents it. Note: There is also code neccessary to remove files from ".nomedia" folders from the media-db if APhotoManager-ver 0.4.6 and below has been run before. Implementing this will take some time ... |
….nomedia" after delete/copy/move fileoperatons
…ctivity to also work with files instead of imageIDs
This issue is still happening, even in the latest release of the software and logcat doesn't reveal the problem. It is reproducible with Dir File Manager and OI file manager |
APhotoManager ver 0.4.6 and below does not obeye ".nomedia" folder so it adds photos from ".nomedia" folder to database.
A Crash in ver 0.4.6 ist reproducable this way: When opening a photo by file-path APhotoManager translates the path to a content-uri.
If the photo is not in found in the media database APhotoManager starts the media scanner to add the unknown file(s). After scan has finished the photo is opend without checks.
If the photo is in a ".nomedia" folder (or in bluetooth download) the scanner does not add the photo so after scanner has finished the photo is not in the media database.
The text was updated successfully, but these errors were encountered: