bundles/voc-loudness-monitor: sources need ffmpeg installed

This commit is contained in:
Franzi 2020-03-21 11:42:33 +00:00
parent 8596ea5113
commit 8e681e4c39
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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',