Example #1
0
    def __init__(self, app_name, icon_name):
        AgentThreadedBase.__init__(self)
        self.app_name=app_name
        self.icon_name=icon_name
        pynotify.init(app_name)        

        self.types=["w", "e", "warning", "error"]
Example #2
0
    def __init__(self):
        AgentThreadedBase.__init__(self)

        self.srx1=MKSignalRx1(self)
        self.srx2=MKSignalRx2(self)
        self.srx3=MKSignalRx3(self)
        
        self.stx=TrackSignalTx(self)
Example #3
0
 def __init__(self):
     AgentThreadedBase.__init__(self)
     self.cArtist=""
     self.cAlbum=""
     self.cTitle=""
     self._reconnect()
     self.current_source=(None, None)
     self.ignore=[]
     self.mode_sound_only=False
     self.debug=False
     self.mode_disable_eventor=False
Example #4
0
 def __init__(self):
     AgentThreadedBase.__init__(self)
     self.watched_dir=os.path.expanduser(self.WATCHED_DIR)
     self._createWatchedDir()
     self.wait_count=None
     
     self.lmoved=[]
     
     self.wm = pyinotify.WatchManager()
     self.mask = pyinotify.IN_DELETE | pyinotify.IN_CREATE | pyinotify.IN_MODIFY | pyinotify.IN_MOVED_TO | pyinotify.IN_CLOSE_WRITE | pyinotify.IN_MOVED_FROM
     self.notifier = pyinotify.Notifier(self.wm, default_proc_fun=EventHandler(), timeout=1000)
     
     self._addDir(self.watched_dir)
Example #5
0
    def __init__(self):
        AgentThreadedBase.__init__(self)

        self.stx=SignalTx(self)