2016-11-04, 14:01
(2016-10-31, 12:26)xphilipp Wrote:(2016-10-31, 09:11)Wintermute0110 Wrote: Also, If you just want to have some standalone launchers in addon root maybe you may want to hide <Favourites>, collections, etc. Go to addon settings, "Display" to do so.
I've already done this. But it still displays the "emulator" category, that's why I removed it using the context menu... and discovered this bug.
As you say, it's a corner case and the error message is self-explanatory... But it says to report the bug .
My quick'n dirty edit:
Code:def _command_add_new_launcher(self, categoryID):
# If categoryID not found return to plugin root window.
if categoryID not in self.categories:
log_info('Category ID not found. Create laucher in addon root.')
launcher_categoryID = VCATEGORY_ADDONROOT_ID
else:
# --- Ask user if launcher is created on selected category or on root menu ---
(...)
# --- Show "Create New Launcher" dialog ---
dialog = xbmcgui.Dialog()
(...)
Thanks for your help. Problem should be fixed in last commit.