More info about audiogens on /api/debug/running
This commit is contained in:
parent
06e6402163
commit
162dac71b0
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ def get_scheduled_audiogen():
|
||||||
info['running_time'] = orig_info['running_time'].isoformat()
|
info['running_time'] = orig_info['running_time'].isoformat()
|
||||||
info['audiospec'] = orig_info['audiospec']
|
info['audiospec'] = orig_info['audiospec']
|
||||||
info['timespec'] = model.get_alarm_by_id(timespec_eid)
|
info['timespec'] = model.get_alarm_by_id(timespec_eid)
|
||||||
|
if 'actions' in info['timespec']:
|
||||||
|
info['timespec']['actions'] = {
|
||||||
|
actid: model.get_action_by_id(actid)
|
||||||
|
for actid in info['timespec']['actions']}
|
||||||
info['greenlet'] = hex(id(orig_info['greenlet']))
|
info['greenlet'] = hex(id(orig_info['greenlet']))
|
||||||
return events
|
return events
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue