Esempio n. 1
0
    def __init__(self, strXMLname, strFallbackPath, strDefaultName,
                 forceFallback):

        self.dialog_content = None
        self.initialRating = 0
        self.userRating = 0
        self.logger = utils.getLogger()
Esempio n. 2
0
    def __init__(self, strXMLname, strFallbackPath, strDefaultName, forceFallback):

        self.logger = utils.getLogger();

        self.navigation = None;
        self.landing_page = None;
        self.currentposition = 0;
    def __init__(self, strXMLname, strFallbackPath, strDefaultName,
                 forceFallback):

        self.logger = utils.getLogger()

        self.landing_page = None
        self.navigation = None
        self.genredata = None
        self.genreList = None
        self.navmenu = None
        self.navmenuparams = None
        self.navtitle = None
        self.navpath = None
        self.navparams = None
        self.navitemcurrent = None
        self.queueLookup = None
        self.myQueue = None

        self.initialLoad = True
        self.currentposition = 0

        self.sortdirection = dict({
            0: 'ASC',
            1: 'DESC'
        })
Esempio n. 4
0
    def __init__(self, strXMLname, strFallbackPath, strDefaultName, forceFallback):

        self.logger = utils.getLogger();

        self.listset = None;
        self.sX = 0;
        self.sY = 51;
        self.sip = None;
    def __init__(self, strXMLname, strFallbackPath, strDefaultName,
                 forceFallback):

        self.logger = utils.getLogger()

        self.control30620size = [0, 0]
        self.control30621size = [0, 0]
        self.control30622size = [0, 0]

        self.resultcode = False
    def __init__(self, strXMLname, strFallbackPath, strDefaultName,
                 forceFallback):

        self.logger = utils.getLogger()

        self.landing_page = None
        self.navigation = None
        self.queueLookup = None
        self.myQueue = None
        self.currentSet = None
        self.currentValue = None
        self.currentParam = None
        self.currentPanel = None
        self.currentIndex = None

        self.currentChoice = 0
        self.contentMaps = dict()

        #self.result_code = BACK_CODE;

        self.isEmpty = True
    def __init__(self, strXMLname, strFallbackPath, strDefaultName,
                 forceFallback):

        self.logger = utils.getLogger()

        self.initialized = False
        self.dblstatus = False
        self.aList = None
        self.aPos = None
        self.starter = None

        self.menus = dict()
        self.mkeys = dict()
        self.updates = dict()
        self.showDetails = dict()
        self.episodeDetails = dict()
        self.episodeDetailExtras = dict()
        self.navigation = dict()

        self.result_code = REST_CODE

        self.landing_page = None
Esempio n. 8
0
    def __init__(self, strXMLname, strFallbackPath, strDefaultName,
                 forceFallback):

        self.logger = utils.getLogger()
        self.menu = dict()
Esempio n. 9
0
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    http://nullege.com/codes/show/src%40m%40y%40mythbox-HEAD%40resources%40src%40mythbox%40ui%40toolkit.py/270/xbmcgui.WindowXML/python
'''

import logging
import sys
import xbmc

from resources.lib.modules import utils
from resources.lib.gui.splashgui import splashscreen
from resources.lib.gui.trialgui import trialscreen
from resources.lib.gui.maingui import main

logger = utils.getLogger()
logger.debug('ARGV: %s', sys.argv)

EXIT_CODE = 2
SUCCESS_CODE = 3
EXPIRE_CODE = 4
HOME_SCREEN_CODE = 5
BACK_CODE = 6
LOGOUT_CODE = 7


def loginWindow():

    result = trialscreen()

    while result is not True: