FYI I started hacking on this. I have found a few issues we need to talk about design wise...
Apps will probably want to display human readable names for devices even though the devices might not be connected to your system. Eg. "In order to read CoolArticle.pdf you need to plug in the USB drive named 'Kingston 2GB'". For this we need to store the type of the storage medium and a human readable label - we have neither right now.
This info could go in a separate table and be exposed on a separate object+interface on DBus (like the blacklist extension does). THis way we'd be backwards and forwards compatible... I need to write a mockup for this
FYI I started hacking on this. I have found a few issues we need to talk about design wise...
Apps will probably want to display human readable names for devices even though the devices might not be connected to your system. Eg. "In order to read CoolArticle.pdf you need to plug in the USB drive named 'Kingston 2GB'". For this we need to store the type of the storage medium and a human readable label - we have neither right now.
This info could go in a separate table and be exposed on a separate object+interface on DBus (like the blacklist extension does). THis way we'd be backwards and forwards compatible... I need to write a mockup for this