diff --git a/addon.xml b/addon.xml index 6013800..5d547b6 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@ @@ -8,7 +8,7 @@ provider-name="inpos"> - image video audio + image video Vkontakte for Kodi diff --git a/changelog.txt b/changelog.txt index 244b870..121bf0b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +v1.0.2 (2017-02-04) +- Убрал дополнение из раздела Аудио. + +v1.0.1 (2017-02-04) +- Исправил зависимости в метаданных + v1.0.0 (2017-02-03) - Подготовлена рабочая версия. Исправлены мелкие недочёты. diff --git a/default.py b/default.py index 6cc0d1d..fe2accb 100644 --- a/default.py +++ b/default.py @@ -664,8 +664,8 @@ class KodiVkGUI: xbmcplugin.addDirectoryItem(_addon_id, None, list_item, isFolder = False) if c_type == _CTYPE_VIDEO: self.root.add_folder(self._string(400502), {'do': _DO_MAIN_VIDEO, 'oid': oid}) - elif c_type == _CTYPE_AUDIO: - self.root.add_folder(self._string(400503), {'do': _DO_MAIN_AUDIO, 'oid': oid}) + #elif c_type == _CTYPE_AUDIO: + # self.root.add_folder(self._string(400503), {'do': _DO_MAIN_AUDIO, 'oid': oid}) elif c_type == _CTYPE_IMAGE: self.root.add_folder(self._string(400504), {'do': _DO_MAIN_PHOTO, 'oid': oid}) else: @@ -859,8 +859,8 @@ class KodiVk: cw_id = xbmcgui.getCurrentWindowId() if cw_id in (10006, 10024, 10025, 10028): self.params['content_type'] = _CTYPE_VIDEO - elif id in (10005, 10500, 10501, 10502): - self.params['content_type'] = _CTYPE_AUDIO + #elif id in (10005, 10500, 10501, 10502): + # self.params['content_type'] = _CTYPE_AUDIO elif id in (10002,): self.params['content_type'] = _CTYPE_IMAGE self.c_type = self.params.get('content_type', None)