From 1804c9e41bb97880823a27bca9c4340dda0eb852 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 31 Dec 2018 18:58:43 -0200 Subject: Transcoding support --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 40c7714..f0d695b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -22,6 +22,7 @@ class airsonic { file { [ '/var/lib/airsonic', + '/var/lib/airsonic/transcode', ]: ensure => directory, owner => 'airsonic', @@ -71,4 +72,12 @@ class airsonic { Package['default-jre'], ], } + + # https://airsonic.github.io/docs/transcode/ + file { '/var/lib/airsonic/transcode/ffmpeg': + ensure => '/usr/bin/ffmpeg', + owner => 'airsonic', + group => 'airsonic', + require => File['/var/lib/airsonic/transcode'], + } } -- cgit v1.2.3