Выход из аккаунта должен быть только на главной
parent
b49a455e08
commit
e0f86458c8
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<addon id="kodi-vk.inpos.ru" version="1.1.2" name="VK Add-on" provider-name="inpos">
|
<addon id="kodi-vk.inpos.ru" version="1.1.3" name="VK Add-on" provider-name="inpos">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.14.0"/>
|
<import addon="xbmc.python" version="2.14.0"/>
|
||||||
<import addon="script.module.vk"/>
|
<import addon="script.module.vk"/>
|
||||||
|
|
10
default.py
10
default.py
|
@ -7,7 +7,7 @@ import urllib2
|
||||||
from urllib import urlencode
|
from urllib import urlencode
|
||||||
import re
|
import re
|
||||||
|
|
||||||
_VERSION = '1.0.0'
|
_VERSION = '1.1.3'
|
||||||
|
|
||||||
_ADDON_NAME = 'kodi-vk.inpos.ru'
|
_ADDON_NAME = 'kodi-vk.inpos.ru'
|
||||||
_addon = xbmcaddon.Addon(id = _ADDON_NAME)
|
_addon = xbmcaddon.Addon(id = _ADDON_NAME)
|
||||||
|
@ -701,10 +701,10 @@ class KodiVkGUI:
|
||||||
self.root.add_folder(self._string(400512), {'do': _DO_MEMBERS, 'oid': -int(oid), 'page': 1})
|
self.root.add_folder(self._string(400512), {'do': _DO_MEMBERS, 'oid': -int(oid), 'page': 1})
|
||||||
if oid == self.root.u.id:
|
if oid == self.root.u.id:
|
||||||
self.root.add_folder(self._string(400514), {'do': _DO_MAIN_FAVE})
|
self.root.add_folder(self._string(400514), {'do': _DO_MAIN_FAVE})
|
||||||
xbmcplugin.addDirectoryItem(_addon_id, None, xbmcgui.ListItem(''), isFolder = False)
|
xbmcplugin.addDirectoryItem(_addon_id, None, xbmcgui.ListItem(''), isFolder = False)
|
||||||
xbmcplugin.addDirectoryItem(_addon_id, None, xbmcgui.ListItem(''), isFolder = False)
|
xbmcplugin.addDirectoryItem(_addon_id, None, xbmcgui.ListItem(''), isFolder = False)
|
||||||
xbmcplugin.addDirectoryItem(_addon_id, None, xbmcgui.ListItem(''), isFolder = False)
|
xbmcplugin.addDirectoryItem(_addon_id, None, xbmcgui.ListItem(''), isFolder = False)
|
||||||
self.root.add_folder(self._string(400526), {'do': _DO_LOGOUT})
|
self.root.add_folder(self._string(400526), {'do': _DO_LOGOUT})
|
||||||
xbmcplugin.endOfDirectory(_addon_id)
|
xbmcplugin.endOfDirectory(_addon_id)
|
||||||
def __create_group_list_(self, groups):
|
def __create_group_list_(self, groups):
|
||||||
for g in groups['items']:
|
for g in groups['items']:
|
||||||
|
|
Loading…
Reference in New Issue