def __init__(self, storage_id, nx_common):
     LoggingComponent.__init__(self, nx_common)
     self.storage_id = storage_id
     self.backing_file = os.path.join(nx_common.data_path,
                                      self.storage_id + '.ndb')
     self._contents = {}
     self._dirty = True
     self.log('Instantiated {}'.format(self.storage_id))
Beispiel #2
0
    def __init__(self, nx_common):
        xbmc.Monitor.__init__(self)
        LoggingComponent.__init__(self, nx_common)
        self.tracking = False
        self.active_player_id = None
        self.action_managers = []

        AddonSignals.registerSlot(nx_common.addon.getAddonInfo('id'),
                                  Signals.PLAYBACK_INITIATED,
                                  self.initialize_playback)
Beispiel #3
0
 def __init__(self, nx_common):
     LoggingComponent.__init__(self, nx_common)
     self.addon = nx_common.get_addon()
     self._enabled = None