def __init__(self, *args, **kwargs): kodigui.ControlledWindow.__init__(self, *args, **kwargs) self.playlist = kwargs.get('playlist') self.exitCommand = None self.tasks = backgroundthread.Tasks() self.isPlaying = False ChunkRequestTask.WINDOW = self
def __init__(self, *args, **kwargs): kodigui.ControlledWindow.__init__(self, *args, **kwargs) windowutils.UtilMixin.__init__(self) self.reset(kwargs.get('episode'), kwargs.get('season'), kwargs.get('show')) self.parentList = kwargs.get('parentList') self.lastItem = None self.lastFocusID = None self.tasks = backgroundthread.Tasks()
def __init__(self, *args, **kwargs): kodigui.ControlledWindow.__init__(self, *args, **kwargs) windowutils.UtilMixin.__init__(self) self.episode = kwargs.get('episode') self.season = kwargs.get('season') or self.episode.season() self.parentList = kwargs.get('parentList') self.show_ = kwargs.get('show') or self.season.show().reload( includeRelated=1, includeRelatedCount=10, includeExtras=1, includeExtrasCount=10) self.seasons = None self.lastItem = None self.lastFocusID = None self.tasks = backgroundthread.Tasks()