def test_notify(self): return self._notifyTwitter("This is a test notification from PlexPy at " + helpers.now(), force=True)
def emit(self, record): message = self.format(record) message = message.replace("\n", "<br />") plexpy.LOG_LIST.insert(0, (helpers.now(), message, record.levelname, record.threadName))
def notify_snatch(self, title): if plexpy.CONFIG.TWITTER_ONSNATCH: self._notifyTwitter(common.notifyStrings[common.NOTIFY_SNATCH] + ': ' + title + ' at ' + helpers.now())
def notify_download(self, title): if plexpy.CONFIG.TWITTER_ENABLED: self._notifyTwitter(common.notifyStrings[common.NOTIFY_DOWNLOAD] + ': ' + title + ' at ' + helpers.now())
def emit(self, record): message = self.format(record) message = message.replace("\n", "<br />") plexpy.LOG_LIST.insert( 0, (helpers.now(), message, record.levelname, record.threadName))
def test_notify(self): return self._notifyTwitter( "This is a test notification from PlexPy at " + helpers.now(), force=True)
def test_notify(self): return self._send_tweet("This is a test notification from PlexPy at " + helpers.now())