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

Files changed after being scanned are not updated in MTP context #9

Open
ckurtz22 opened this issue Sep 18, 2019 · 0 comments
Open

Comments

@ckurtz22
Copy link
Contributor

Because the Switch does not have a system such as inotify to easily check for when files are updated, after a directory is originally scanned by MTP if anything in it's contents are changed by the Switch then this will not be reflected by the MTP context. A solution would be to check the contents of a directory any time MTP requests information about it, and not just the first time. Will need some thinking to figure out how to handle files that are no longer there, new files not in the context, and files that have changed properties (size, last modified, etc).

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

1 participant