From 8e681e4c39dafa5f4ca101be1ddf8964b0513dd2 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 21 Mar 2020 11:42:33 +0000 Subject: [PATCH] bundles/voc-loudness-monitor: sources need ffmpeg installed --- bundles/voc-loudness-monitor/items.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/voc-loudness-monitor/items.py b/bundles/voc-loudness-monitor/items.py index aab12ba..1e611b7 100644 --- a/bundles/voc-loudness-monitor/items.py +++ b/bundles/voc-loudness-monitor/items.py @@ -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',