CC-1799Put Airtime Storage into a Human Readable File Naming Convention
new API method to check media status.
This commit is contained in:
parent
16cfae10ed
commit
1f9a39f22d
3 changed files with 44 additions and 1 deletions
|
@ -332,7 +332,9 @@ if __name__ == '__main__':
|
|||
logger = logging.getLogger('root')
|
||||
logger.info("Added watch to %s", storage_directory)
|
||||
|
||||
notifier = AirtimeNotifier(wm, MediaMonitor(), read_freq=int(config["check_filesystem_events"]), timeout=1)
|
||||
mm = MediaMonitor()
|
||||
|
||||
notifier = AirtimeNotifier(wm, mm, read_freq=int(config["check_filesystem_events"]), timeout=1)
|
||||
notifier.coalesce_events()
|
||||
notifier.loop(callback=checkRabbitMQ)
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue