Added information message when media monitor is restarted

This commit is contained in:
Rudi Grinberg 2012-11-01 15:42:58 -04:00
parent c0dc38be62
commit 176f2c45ba
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ def main(global_config, api_client_config, log_config,
airtime_notifier = AirtimeNotifier(config, airtime_receiver)
store = apiclient.setup_media_monitor()
log.info("Initing with the following airtime response:%s" % str(store))
airtime_receiver.change_storage({ 'directory':store[u'stor'] })
for watch_dir in store[u'watched_dirs']: