{"action":"created","issue":{"url":"https://api.github.com/repos/Ultimaker/Cura/issues/671","repository_url":"https://api.github.com/repos/Ultimaker/Cura","labels_url":"https://api.github.com/repos/Ultimaker/Cura/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/Ultimaker/Cura/issues/671/comments","events_url":"https://api.github.com/repos/Ultimaker/Cura/issues/671/events","html_url":"https://github.com/Ultimaker/Cura/issues/671","id":141790741,"number":671,"title":"Questions about RemovableDrivePlugin","user":{"login":"thopiekar","id":1847437,"avatar_url":"https://avatars.githubusercontent.com/u/1847437?v=3","gravatar_id":"","url":"https://api.github.com/users/thopiekar","html_url":"https://github.com/thopiekar","followers_url":"https://api.github.com/users/thopiekar/followers","following_url":"https://api.github.com/users/thopiekar/following{/other_user}","gists_url":"https://api.github.com/users/thopiekar/gists{/gist_id}","starred_url":"https://api.github.com/users/thopiekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thopiekar/subscriptions","organizations_url":"https://api.github.com/users/thopiekar/orgs","repos_url":"https://api.github.com/users/thopiekar/repos","events_url":"https://api.github.com/users/thopiekar/events{/privacy}","received_events_url":"https://api.github.com/users/thopiekar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T07:01:08Z","updated_at":"2016-03-18T08:22:03Z","closed_at":null,"body":"I just looked over the code and got different questions:\r\n* What stores self._drives? Is key always a mount point or can it also be a id. The value of the key is likely the label of the drive, isn't it?\r\n* How does the plugin decide which code to take? Eg. LinuxRemovableDrivePlugin.py?"},"comment":{"url":"https://api.github.com/repos/Ultimaker/Cura/issues/comments/198248670","html_url":"https://github.com/Ultimaker/Cura/issues/671#issuecomment-198248670","issue_url":"https://api.github.com/repos/Ultimaker/Cura/issues/671","id":198248670,"user":{"login":"nallath","id":3922611,"avatar_url":"https://avatars.githubusercontent.com/u/3922611?v=3","gravatar_id":"","url":"https://api.github.com/users/nallath","html_url":"https://github.com/nallath","followers_url":"https://api.github.com/users/nallath/followers","following_url":"https://api.github.com/users/nallath/following{/other_user}","gists_url":"https://api.github.com/users/nallath/gists{/gist_id}","starred_url":"https://api.github.com/users/nallath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nallath/subscriptions","organizations_url":"https://api.github.com/users/nallath/orgs","repos_url":"https://api.github.com/users/nallath/repos","events_url":"https://api.github.com/users/nallath/events{/privacy}","received_events_url":"https://api.github.com/users/nallath/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T08:22:03Z","updated_at":"2016-03-18T08:22:03Z","body":"Check the __init__.py. if you add a plugin the register in __init__.py is called. There is a check for your OS (so based on that one of the plugins is added)\r\n\r\nI think that for self._drives the key can be an ID, but i didn't write that plugin, so you'r best off asking @awhiemstra. We should have written more documentation on this though. "}}