2016-12-30, 11:14
(2016-12-30, 11:02)smitchell6879 Wrote: Can I make a custom group and have this allow users to manage the order of that group?
Sure. Skin Shortcuts Docs: Additional Submenu's or Other Menus
(2016-12-30, 11:06)marcelveldt Wrote:(2016-12-28, 23:19)BobCratchett Wrote: Yes, with how the code currently works for path-based nodes (which don't have a <content /> tag to tell us what the content is, the visibility condition is used - which is Library.HasContent(TVShows) - I got 'videos' because I'd been messing about with my nodes whilst coding the recent update to the Library Node Editor) a widgetType of tvshows is expected.
I've reviewed the code and it's not an easy job to fix this simply because the current library-node-loading code is so fragmented, so expect the Kodi 18 version of the script (where I'm already refactoring large amounts of code as this needs to be) to handle this correctly
Maybe we should just throw all detections through the content detection method I created once for plugins ?
That way we only have one method to determine the actual contenttype instead of several fragmented around the code.
It makes sense, I think, to use the <content /> tag in a rule-based node as it's actually telling us what the content it - no need to guess. Path-based nodes definitely do need to go through your DetectPluginContent method. The whole loading-library-node's-code is an absolute mess, though, and really needs some major refactoring (and already has some on the 'Games' branch where I am doing the necessary refactoring for v18).