parent
003419c1a0
commit
7f5e5f5ee4
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<addon id="kodi-vk.inpos.ru"
|
<addon id="kodi-vk.inpos.ru"
|
||||||
version="1.0.1"
|
version="1.0.2"
|
||||||
name="VK Add-on"
|
name="VK Add-on"
|
||||||
provider-name="inpos">
|
provider-name="inpos">
|
||||||
<requires>
|
<requires>
|
||||||
|
@ -8,7 +8,7 @@ provider-name="inpos">
|
||||||
<import addon="script.module.vk"/>
|
<import addon="script.module.vk"/>
|
||||||
</requires>
|
</requires>
|
||||||
<extension point="xbmc.python.pluginsource" library="default.py">
|
<extension point="xbmc.python.pluginsource" library="default.py">
|
||||||
<provides>image video audio</provides>
|
<provides>image video</provides>
|
||||||
</extension>
|
</extension>
|
||||||
<extension point="xbmc.addon.metadata">
|
<extension point="xbmc.addon.metadata">
|
||||||
<summary lang="en">Vkontakte for Kodi</summary>
|
<summary lang="en">Vkontakte for Kodi</summary>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
v1.0.2 (2017-02-04)
|
||||||
|
- Убрал дополнение из раздела Аудио.
|
||||||
|
|
||||||
|
v1.0.1 (2017-02-04)
|
||||||
|
- Исправил зависимости в метаданных
|
||||||
|
|
||||||
v1.0.0 (2017-02-03)
|
v1.0.0 (2017-02-03)
|
||||||
- Подготовлена рабочая версия. Исправлены мелкие недочёты.
|
- Подготовлена рабочая версия. Исправлены мелкие недочёты.
|
||||||
|
|
||||||
|
|
|
@ -664,8 +664,8 @@ class KodiVkGUI:
|
||||||
xbmcplugin.addDirectoryItem(_addon_id, None, list_item, isFolder = False)
|
xbmcplugin.addDirectoryItem(_addon_id, None, list_item, isFolder = False)
|
||||||
if c_type == _CTYPE_VIDEO:
|
if c_type == _CTYPE_VIDEO:
|
||||||
self.root.add_folder(self._string(400502), {'do': _DO_MAIN_VIDEO, 'oid': oid})
|
self.root.add_folder(self._string(400502), {'do': _DO_MAIN_VIDEO, 'oid': oid})
|
||||||
elif c_type == _CTYPE_AUDIO:
|
#elif c_type == _CTYPE_AUDIO:
|
||||||
self.root.add_folder(self._string(400503), {'do': _DO_MAIN_AUDIO, 'oid': oid})
|
# self.root.add_folder(self._string(400503), {'do': _DO_MAIN_AUDIO, 'oid': oid})
|
||||||
elif c_type == _CTYPE_IMAGE:
|
elif c_type == _CTYPE_IMAGE:
|
||||||
self.root.add_folder(self._string(400504), {'do': _DO_MAIN_PHOTO, 'oid': oid})
|
self.root.add_folder(self._string(400504), {'do': _DO_MAIN_PHOTO, 'oid': oid})
|
||||||
else:
|
else:
|
||||||
|
@ -859,8 +859,8 @@ class KodiVk:
|
||||||
cw_id = xbmcgui.getCurrentWindowId()
|
cw_id = xbmcgui.getCurrentWindowId()
|
||||||
if cw_id in (10006, 10024, 10025, 10028):
|
if cw_id in (10006, 10024, 10025, 10028):
|
||||||
self.params['content_type'] = _CTYPE_VIDEO
|
self.params['content_type'] = _CTYPE_VIDEO
|
||||||
elif id in (10005, 10500, 10501, 10502):
|
#elif id in (10005, 10500, 10501, 10502):
|
||||||
self.params['content_type'] = _CTYPE_AUDIO
|
# self.params['content_type'] = _CTYPE_AUDIO
|
||||||
elif id in (10002,):
|
elif id in (10002,):
|
||||||
self.params['content_type'] = _CTYPE_IMAGE
|
self.params['content_type'] = _CTYPE_IMAGE
|
||||||
self.c_type = self.params.get('content_type', None)
|
self.c_type = self.params.get('content_type', None)
|
||||||
|
|
Loading…
Reference in New Issue