def Populate(self, content): self.PrefixActions() content() xbmcplugin.setPluginCategory(self.handle, PLUGIN_NAME) xbmcplugin.endOfDirectory(self.handle)