Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Request] Add events to file manager #1092
The file manager currently doesn't trigger any events to notify other parts of the system about added/moved/removed etc files. The only way for e.g. plugins to get notified about added/uploaded files is listening to the Upload event, which only is triggered for actual file uploads, not for files added through other means, e.g. the watched folder.
We should have the file manager generate its own set of events for plugins such as the AutoSelect Plugin to hook into.
A first attempt at a list:
All those events would have a payload structured somewhat like this:
For the SD card stuff we either need to have those events triggered in the comm layer for now, or don't trigger them at all, until that stuff is migrated to a proper
@Salandora do we also need events for copy/move or should it be sufficient to replicate those as