Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     kodigui.BaseDialog.__init__(self, *args, **kwargs)
     kodiutil.setScope()
     self.features = kwargs.get('features', [])
     self.play = False
     self.moving = None
     self.sequencePath = None
Exemplo n.º 2
0
def main():
    kodiutil.setScope()
    kodiutil.setGlobalProperty('VERSION',
                               kodiutil.ADDON.getAddonInfo('version'))
    kodiutil.LOG('Sequence editor: OPENING')
    SequenceEditorWindow.open()
    kodiutil.LOG('Sequence editor: CLOSED')
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     kodigui.BaseDialog.__init__(self, *args, **kwargs)
     kodiutil.setScope()
     self.features = kwargs.get('features', [])
     self.play = False
     self.moving = None
     self.sequencePath = None
Exemplo n.º 4
0
def main():
    kodiutil.checkAPILevel()
    kodiutil.setScope()
    kodiutil.setGlobalProperty('VERSION', kodiutil.ADDON.getAddonInfo('version'))
    kodiutil.LOG('Sequence editor: OPENING')
    SequenceEditorWindow.open()
    kodiutil.LOG('Sequence editor: CLOSED')
Exemplo n.º 5
0
    def __init__(self, *args, **kwargs):
        kodigui.BaseDialog.__init__(self, *args, **kwargs)
        kodiutil.setScope()
        self.features = kwargs.get('features', [])
        self.isIntercepted = 'intercept' in kwargs.get('args', [])
        self.play = False
        self.normalPlay = False
        self.moving = None
        self.sequencePath = None

        cvutil.setTheme()
Exemplo n.º 6
0
    def settings(self):
        kodiutil.ADDON.openSettings()

        kodiutil.setScope()
        cinemavision.init(kodiutil.DEBUG())

        for item in self.sequenceControl:
            if item.dataSource:
                self.updateItemSettings(item)

        if not self.checkForContentDB():
            cvutil.loadContent()
Exemplo n.º 7
0
    def settings(self):
        kodiutil.ADDON.openSettings()

        kodiutil.setScope()
        cinemavision.init(kodiutil.DEBUG())

        for item in self.sequenceControl:
            if item.dataSource:
                self.updateItemSettings(item)

        if not self.checkForContentDB():
            cvutil.loadContent()
Exemplo n.º 8
0
 def __init__(self, *args, **kwargs):
     kodigui.BaseWindow.__init__(self, *args, **kwargs)
     kodiutil.setGlobalProperty('paused', '')
     kodiutil.setGlobalProperty('number', '')
     kodiutil.setScope()
     self.player = None
     self.action = None
     self.volume = None
     self.abortFlag = None
     self.effect = None
     self.duration = 400
     self.lastImage = ''
     self.initialized = False
     self._paused = False
     self._pauseStart = 0
     self._pauseDuration = 0
     self.clear()
Exemplo n.º 9
0
 def __init__(self, *args, **kwargs):
     kodigui.BaseWindow.__init__(self, *args, **kwargs)
     kodiutil.setGlobalProperty('paused', '')
     kodiutil.setGlobalProperty('number', '')
     kodiutil.setScope()
     self.player = None
     self.action = None
     self.volume = None
     self.abortFlag = None
     self.effect = None
     self.duration = 400
     self.lastImage = ''
     self.initialized = False
     self._paused = False
     self._pauseStart = 0
     self._pauseDuration = 0
     self.clear()