cc-4105: fixed bug where api client wasn't being initialized right by replaygain updater. updated apiclient to better detect such bad usage
This commit is contained in:
parent
3c82497c34
commit
5bc170ba31
3 changed files with 10 additions and 8 deletions
|
@ -57,11 +57,11 @@ watch_syncer = WatchSyncer(signal='watch',
|
|||
chunking_number=config['chunking_number'],
|
||||
timeout=config['request_max_wait'])
|
||||
|
||||
ReplayGainUpdater.start_reply_gain()
|
||||
|
||||
apiclient = apc.AirtimeApiClient.create_right_config(log=log,
|
||||
config_path=api_client_config)
|
||||
|
||||
ReplayGainUpdater.start_reply_gain(apiclient)
|
||||
|
||||
# TODO : Need to do setup_media_monitor call somewhere around here to get
|
||||
# import/organize dirs
|
||||
sdb = AirtimeDB(apiclient)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue