Выход из аккаунта должен быть только на главной
This commit is contained in:
		
							parent
							
								
									b49a455e08
								
							
						
					
					
						commit
						e0f86458c8
					
				@ -1,5 +1,5 @@
 | 
			
		||||
<?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>
 | 
			
		||||
  <import addon="xbmc.python" version="2.14.0"/>
 | 
			
		||||
  <import addon="script.module.vk"/>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										10
									
								
								default.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								default.py
									
									
									
									
									
								
							@ -7,7 +7,7 @@ import urllib2
 | 
			
		||||
from urllib import urlencode
 | 
			
		||||
import re
 | 
			
		||||
 | 
			
		||||
_VERSION = '1.0.0'
 | 
			
		||||
_VERSION = '1.1.3'
 | 
			
		||||
 | 
			
		||||
_ADDON_NAME =   'kodi-vk.inpos.ru'
 | 
			
		||||
_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})
 | 
			
		||||
        if oid == self.root.u.id:
 | 
			
		||||
            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)
 | 
			
		||||
        self.root.add_folder(self._string(400526), {'do': _DO_LOGOUT})
 | 
			
		||||
            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})
 | 
			
		||||
        xbmcplugin.endOfDirectory(_addon_id)
 | 
			
		||||
    def __create_group_list_(self, groups):
 | 
			
		||||
        for g in groups['items']:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user