예제 #1
0
파일: starTV.py 프로젝트: Yaser7440/ru
###################################################################
# Copyright (C) Alexey S.Galickiy 2015-2016 - All Rights Reserved #
###################################################################

# -*- coding: utf-8 -*-

import xbmc
import epgTV
import xbmcgui
import proxyTV

if __name__ == '__main__':
    xbmc.log('-----> START service.proxy.tv ' + epgTV.VERSION + ' <-----')
    if proxyTV.updateAddonTv():
        if proxyTV.updateProxyTv():
            if proxyTV.updateEpgTv():
                start = True
            else: start = False
        else: start = False
    else: start = False
    if start:
        proxyTV.start()
    else:
        information = xbmcgui.Dialog()
        information.notification(proxyTV.CEPBEP_XPEH, proxyTV.KUHO_XPEH, xbmcgui.NOTIFICATION_INFO, 8000, False)
    xbmc.log('-----> FINISH service.proxy.tv ' + epgTV.VERSION + ' <-----')    
예제 #2
0
############################################################
# Copyright (C) Alex S.Galickiy 2015 - All Rights Reserved #
############################################################

# -*- coding: utf-8 -*-

import xbmc
import proxyTV
import epgTV

if __name__ == '__main__':
    xbmc.log('-----> START service.proxy.tv ' + epgTV.VERSION + ' <-----')
    proxyTV.updateAddonTv()
    proxyTV.updateProxyTv()
    proxyTV.updateEpgTv()
    proxyTV.start()
    xbmc.log('-----> FINISH service.proxy.tv ' + epgTV.VERSION + ' <-----')    
    
예제 #3
0
파일: starTV.py 프로젝트: vkravets/ru
###################################################################
# Copyright (C) Alexey S.Galickiy 2015-2016 - All Rights Reserved #
###################################################################

# -*- coding: utf-8 -*-

import xbmc
import epgTV
import xbmcgui
import proxyTV

if __name__ == '__main__':
    xbmc.log('-----> START service.proxy.tv ' + epgTV.VERSION + ' <-----')
    if proxyTV.updateAddonTv():
        if proxyTV.updateProxyTv():
            if proxyTV.updateEpgTv():
                start = True
            else:
                start = False
        else:
            start = False
    else:
        start = False
    if start:
        proxyTV.start()
    else:
        information = xbmcgui.Dialog()
        information.notification(proxyTV.CEPBEP_XPEH, proxyTV.KUHO_XPEH,
                                 xbmcgui.NOTIFICATION_INFO, 8000, False)
    xbmc.log('-----> FINISH service.proxy.tv ' + epgTV.VERSION + ' <-----')