So I am playing with building a plugin and I was wondering what the proper way of interacting with storage is via the framework. I looked through some of the plugins and saw references to Core.storage. Is this what we should be using and if so, is there some examples out there? It would make sense to have it stored using Core.storage so if the user removed the plugin it would remove that content as well.
The proper way to use persistent storage for plugins is in the plugin Dict. It behaves essentially like a global python dictionary which persists between restarts. The SickBeard, CouchPotato, and Unsupported Appstore channels all use it, so there are numerous examples. There are other examples too, but I can’t think of them of the top of my head.