Replace "Scan for Changes" with "Read Metadata from File"

Mylio has a Scan for Changes command but it seems pretty mysterious and unpredictable how it works. What exactly gets scanned when chosen? The selected file(s)? folder(s)? Everything? Not clear if this command is “scoped” to selection, or not. Is it reloading metadata from the original JPEG, DNG, or HEIC file? Or does it just look at XMP file (if exists)?

This command operates asynchronously - in the background, it seems. No feedback, or way to see its progress. It seems to take an indeterminate amount of time to complete - sometimes you see changes immediately, sometimes after several minutes, sometimes never? How do you know when it’s “done”?

I propose that Mylio replace this command with an explicit Read Metadata from File command instead. This would operate only on the selected scope (files or folders). It would show some type of progress bar or task-completion notice. It would reload metadata from the underlying file if possible (JPEG, DNG, HEIC, etc). If XMP file exists, warn the user when it differs from underlying file metadata, and ask if they want to overwrite.

An explicit Read Metadata from File command would make interop between Mylio and other apps much quicker, more accurate, and more predictable. Thanks!

7 Likes

Read Metadata from Files is a good idea. I’ll add it to our queue.

Scan for Changes causes, or is supposed to cause, Mylio to see if files have been added, deleted, or renamed in the scope.

It seems to take its time about it, though - as if a background action has been queued, rather than responding to a user request to do it straight away.

1 Like

Our interface with the file system, which is one of the most unique things Mylio does, is also an area of great complexity.

So, yes, sometimes it can take awhile for either us to become aware of a change or for the operating system to let us know.

Scan For Changes isn’t something you generally need to do. On most drives we get a notification from the drive that something has changed, and then Mylio goes and scan it automatically. So most of the time it will appear as if this command does nothing.

Some drives however does not tell Mylio when files have changed, which is when you would need to run Scan For Changes.