bundles/voc-loudness-monitor: sources need ffmpeg installed
This commit is contained in:
parent
8596ea5113
commit
8e681e4c39
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,10 @@ streams = {
|
|||
files = {}
|
||||
svc_systemd = {}
|
||||
|
||||
pkg_apt = {
|
||||
'ffmpeg': {},
|
||||
}
|
||||
|
||||
for stream_id, config in streams.items():
|
||||
config['id'] = stream_id
|
||||
|
||||
|
@ -45,6 +49,9 @@ for stream_id, config in streams.items():
|
|||
'triggers': {
|
||||
'svc_systemd:loudness_{}:restart'.format(stream_id),
|
||||
},
|
||||
'needs': {
|
||||
'pkg_apt:ffmpeg',
|
||||
},
|
||||
}
|
||||
files['/etc/systemd/system/loudness_{}.service'.format(stream_id)] = {
|
||||
'source': 'loudness.service',
|
||||
|
|
Loading…
Reference in a new issue