From 38bb4414c40ec2e2bb1229323f08d5d41e99289f Mon Sep 17 00:00:00 2001 From: Famille Bollu Date: Tue, 31 Jul 2018 22:00:33 +0200 Subject: [PATCH] Fixed a but in main menu where menu entries were not called with the 'isFolder' attribute set to True --- peertube.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/peertube.py b/peertube.py index 9d32f59..85a0153 100644 --- a/peertube.py +++ b/peertube.py @@ -269,6 +269,7 @@ class PeertubeAddon(): :return: None """ + xbmc.log('PeertubeAddon: Changing currently selected instance to ({0})'.format(instance, xbmc.LOGDEBUG) self.selected_inst = instance return None @@ -291,12 +292,12 @@ class PeertubeAddon(): # 2nd menu entry list_item = xbmcgui.ListItem(label='Search on selected instance') url = '{0}?action=search_videos&start=0'.format(self.plugin_url) - listing.append((url, list_item, False)) + listing.append((url, list_item, True)) # 3rd menu entry list_item = xbmcgui.ListItem(label='Select other instance') url = '{0}?action=browse_instances&start=0'.format(self.plugin_url) - listing.append((url, list_item, False)) + listing.append((url, list_item, True)) # Add our listing to Kodi. xbmcplugin.addDirectoryItems(self.plugin_id, listing, len(listing))