Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-cloud-storage
This commit is contained in:
commit
89e760fd98
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ class CuePointAnalyzer(Analyzer):
|
||||||
# Conver the length into a formatted time string
|
# Conver the length into a formatted time string
|
||||||
track_length = datetime.timedelta(seconds=metadata['length_seconds'])
|
track_length = datetime.timedelta(seconds=metadata['length_seconds'])
|
||||||
metadata["length"] = str(track_length)
|
metadata["length"] = str(track_length)
|
||||||
metadata['cuein'] = silan_results['sound'][0][0]
|
metadata['cuein'] = format(silan_results['sound'][0][0], 'f')
|
||||||
metadata['cueout'] = silan_results['sound'][0][1]
|
metadata['cueout'] = format(silan_results['sound'][0][1], 'f')
|
||||||
|
|
||||||
except OSError as e: # silan was not found
|
except OSError as e: # silan was not found
|
||||||
logging.warn("Failed to run: %s - %s. %s" % (command[0], e.strerror, "Do you have silan installed?"))
|
logging.warn("Failed to run: %s - %s. %s" % (command[0], e.strerror, "Do you have silan installed?"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue