def __init__(self, *params): self.offset = 0 self.per_page = 50 self.histId = None self.apiName = "video.search" self.locale = {"newSearch":__language__(30005), "history": __language__(30007), "input":__language__(30003)} XBMCVkUI_VKSearch_Base.__init__(self, *params)
def __init__(self, *params): self.histId = "Audio" self.apiName = "audio.search" self.locale = { "newSearch": __language__(30008), "history": __language__(30007), "input": __language__(30003) } XBMCVkUI_VKSearch_Base.__init__(self, *params)
def Do_HOME(self): XBMCVkUI_VKSearch_Base.Do_HOME(self) listItem = xbmcgui.ListItem(__language__(30009)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=MY_MUSIC), listItem, True) listItem = xbmcgui.ListItem(__language__(30016)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=HYPED_ARTISTS), listItem, True)
def Do_HOME(self): XBMCVkUI_VKSearch_Base.Do_HOME(self) listItem = xbmcgui.ListItem(__language__(30010)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=TOP_DOWNLOADS), listItem, True) listItem = xbmcgui.ListItem(__language__(30011)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=SERIES), listItem, True) listItem = xbmcgui.ListItem(__language__(30012)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=MY_VIDEOS), listItem, True)
def Do_HOME(self): XBMCVkUI_VKSearch_Base.Do_HOME(self) listItem = xbmcgui.ListItem(__language__(30010)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=TOP_DOWNLOADS), listItem, True) listItem = xbmcgui.ListItem(__language__(30011)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=SERIES), listItem, True) listItem = xbmcgui.ListItem(__language__(30012)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=MY_VIDEOS), listItem, True) listItem = xbmcgui.ListItem(__language__(30042)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=GROUPS), listItem, True) self.friendsEntry("video") listItem = xbmcgui.ListItem(__language__(30020)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode="LOGOUT"), listItem, True)
def Do_HOME(self): XBMCVkUI_VKSearch_Base.Do_HOME(self) listItem = xbmcgui.ListItem(__language__(30009)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=MY_MUSIC), listItem, True) listItem = xbmcgui.ListItem(__language__(30016)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=HYPED_ARTISTS), listItem, True) listItem = xbmcgui.ListItem(__language__(30023)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=RECOMENDED_MUSIC), listItem, True) listItem = xbmcgui.ListItem(__language__(30024)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode=POPULAR_MUSIC), listItem, True) self.friendsEntry("music") listItem = xbmcgui.ListItem(__language__(30020)) xbmcplugin.addDirectoryItem(self.handle, self.GetURL(mode="LOGOUT"), listItem, True)
def __init__(self, *params): self.histId = "Audio" self.apiName = "audio.search" self.locale = {"newSearch":__language__(30008), "history": __language__(30007), "input":__language__(30003)} XBMCVkUI_VKSearch_Base.__init__(self, *params)