2014-06-12, 13:00
(2014-06-12, 12:55)phate89 Wrote:(2014-06-12, 12:52)Unfledged Wrote:(2014-06-12, 12:44)phate89 Wrote: About multipath can't you simply check just before you create the playlist if the path you get starts with "multipath://" and if it does remove it and split into separate paths? shouldn't be too hard to implement.. Or tehre's always the alternative to parse the sources.xml path to get them...
About aeon nox I always thought that this idea makes a lot easier to customize the skin without any advanced knowlege like smart playlists. I also thought to write an addon by myself to provide this kind of integration automatically and then propose it to bignoid but i never had the time..Maybe if there's a way to get the submenu separately even bignoid will add it...
Sorry, I should have been clearer - Yes, the multipath:// can be checked for, but XBMC doesn't tell me (via JSON, which is where all the sources come from) what directories make up a multipath. I'll take a look to see how much pain parsing the sources.xml is.
The problem with Nox5 is that, because the skin manages the main menu (though the items it uses come from the script initially), the script has no idea what action the main menu item has, and so no idea what it could potentially auto-filll a submenu based upon.
Actually a multipath is a list of paths. composed like this:
multipath://path1/path2/.../pathx/
It's only matter of removing multipath:// and split the string by "/", check the function _get_path_list from the list i gave you (in a second editing)
https://github.com/XBMC-Addons/script.ar...up.py#L217