deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.56k stars 96 forks source link

Rescan doesn't find new media #839

Closed telrod11 closed 10 months ago

telrod11 commented 10 months ago

Describe the bug Rescan fails to include new media in viewer.

To Reproduce Steps to reproduce the behavior:

  1. Open Aves
  2. Look for media that was added today and find it isn't there
  3. Hit rescan
  4. Media still not found

Tested my library with a couple other gallery apps (f-stop, memoria, simple gallery) and all show the missing media when set to "Newest", just as I have aves set.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots or screen recordings to help explain your problem. If they are too private for this public space, feel free to send them by email.

System information and logs: In the app, there are instructions in the About page > Bug Report section. After following them, paste here your system information and attach your logs.

Additional context Add any other context about the problem here.

deckerst commented 10 months ago

Rescan in Aves does not do what you think it does. It's only useful to use that function when a new release of Aves introduces new cataloguing features (like detecting motion photos).

Apps cannot force the system Media Store to rescan media. This is not a thing.

If media is missing in Aves, it can be either:

telrod11 commented 10 months ago

I'm unsure how other gallery apps I mentioned are able to see these changes, but aves is not.

If aves is WAD, great, but I thought you'd like to know others can do it, and do it very well.

Apologies for bringing it up.

deckerst commented 10 months ago

"WAD"?

As i said, there's possibly a bug in Aves. But other galleries may scan themselves the file system (if they have permission to do so), and bypass the OS media segregation altogether. So the fact that other galleries show something is interesting but can be misleading for diagnostic.

Apologies for bringing it up.

No need. It's good to know that the current way doesn't seem to work in all situations, but i need way more details to act on that kind of reports.

telrod11 commented 10 months ago

WAD Works As Designed

I will report back that aves eventually found the missing media but it took almost 12 hours for that to happen.

Thanks for listening.