示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 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)
示例#4
0
 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)
示例#5
0
 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)
示例#6
0
    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)
示例#7
0
 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)
示例#8
0
 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)