[I don't know if this is the right place to bring this up, but I didn't feel like starting a new thread would be prudent.]
Can someone explain to me why scripts and plugins go into different folders?
Wouldn't it be better to have one folder called 'addons' or something similar xbmc.setAddonType(...) with arguments like script, videoPlugin, musicPlugin, picturePlugin, and programPlugin and then to use them, add them as we already do, plugin://... and the system could figure out what to do from there.
ALTERNATIVELY
when a .py file is launched, it checks to see if xbmcplugin is imported, and if it isn't, it's a script. easy(?).
This would do 3 things:
- solve the "plugins don't run from my script folder zomg!? whats wrong pls help" problem
- allow us to add scripts as sources under programs/videos/music/pictures/etc for better integration with the xbmc philosophy
- give us a 'master' addons folder much like the script folder we have now, except with plugins as well.
The biggest problem i see with this is backwards compatibility. And... that is a big one. Maybe a script or plugin could go through and edit all the .py files to make them correct (only default.py would need to change, I would think).
What do you guys think? Is it too late for something like this? Unnecessary? I just think that merging plugins and scripts could lead to less end-user confusion, which in turns pushes xbmc just a little more mainstream.