No problems on the merge - I can confirm that it builds fine.
I think we need a TODO list of what else needs doing before we mainline this:
1. Ability to have cancellability (and updating a progress bar) of folder browsing.
2. Get Sort methods/label formatting done (default sort method needed?)
Possibly:
3. Contextual menus - both a system to request a list of context menu items (for when WHITE is performed within a plugin dir), and a system to execute the action.
Proposed implementation:
1. PluginDirectory has a loop running and pops up the progress bar after (say) 1.5 seconds. AddItem() automatically updates the progress bar contents, and we should have the possibility in there to set the percentage done (if the script knows it). On cancel, we request that python kills the script. I'll have a play with the progress bar stuff and see how it works out.
2. As detailed in a previous post - just a method to add a single sort method, and (if necessary) a method to set the default sort method. The default can just be the first sort method I suspect? We also need to add any additional format label strings as necessary. Nuka1195's working on this
3. I suspect we call the script in both cases with a special parameter (maybe <scriptname>?action=ContextMenu(<path>) and <scriptname>?action=ContextAction(<action>,<path>) perhaps?). Some sort of generic action system so it can be extended later if necessary. ContextMenu(<path>) will effectively return a directory list of items that XBMC will transform into a context menu, whereas ContextAction() will perform an action.
Anything else needed?
Cheers,
Jonathan