2013-06-18, 00:27
Ok, First working prototype is up and available here:
https://github.com/jmarshallnz/xbmc/tree...y_provider
I've somewhat hacked it on top of the video library node system - currently the node system resides in system/library/menu/
There's a couple of things to note:
1. No support as-yet for listing files inside folders. Well, they'll list just fine, but it won't know what to do when you click on an item.
2. Similarly, no support for running info/thumb loaders etc.
3. The system for determining where to load up a directory is currently a bit of a hack - basically I added a <target> field to nodes that specifies the window.
As a result of 3, these lists won't work inside the media window (unless the <path> tag is all it needs to resolve the virtual folder). Perhaps a better technique would be handling of a shortcut item in the media windows that essentially executes the appropriate ActivateWindow(). It could also then skip activating the current window etc. Thoughts appreciated.
Also, with the above, the music nodes won't work very well (due to the music files/library split) and I didn't bother with the LiveTV node setup as yet.
Please test it out/take a look at the code etc. - jenkins can do builds for ya.
Cheers,
Jonathan
https://github.com/jmarshallnz/xbmc/tree...y_provider
I've somewhat hacked it on top of the video library node system - currently the node system resides in system/library/menu/
There's a couple of things to note:
1. No support as-yet for listing files inside folders. Well, they'll list just fine, but it won't know what to do when you click on an item.
2. Similarly, no support for running info/thumb loaders etc.
3. The system for determining where to load up a directory is currently a bit of a hack - basically I added a <target> field to nodes that specifies the window.
As a result of 3, these lists won't work inside the media window (unless the <path> tag is all it needs to resolve the virtual folder). Perhaps a better technique would be handling of a shortcut item in the media windows that essentially executes the appropriate ActivateWindow(). It could also then skip activating the current window etc. Thoughts appreciated.
Also, with the above, the music nodes won't work very well (due to the music files/library split) and I didn't bother with the LiveTV node setup as yet.
Please test it out/take a look at the code etc. - jenkins can do builds for ya.
Cheers,
Jonathan