From aedde2e6cdf128aade929314794c96aadd5b9c3f Mon Sep 17 00:00:00 2001 From: Youe Graillot Date: Fri, 15 Jul 2022 23:03:25 +0200 Subject: [PATCH] allow the use of flac2custom.sh --- .dockerignore | 6 ++++++ README.md | 5 +++-- lidarr-flac2mp3 | 2 +- root/etc/services.d/setup/run | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..017ccac --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +# Docker ignore file +.assets +.git +.github +.gitignore +README.md diff --git a/README.md b/README.md index 9ee8037..8ec573e 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ This allows an easy deployment, with the advantage of having a direct control ov | `-e PUID=1000` | for UserID | | `-e PGID=1000` | for GroupID | | `-e AUTOCONFIG=true` | Enable automatic configuration - see below for explanation | +| `-e FLAC2CUSTOM_ARGS=true` | Sets arguments used when calling flac2custom.sh | | `-v /config` | Configuration files for Lidarr. | | `-v /config_deemix` | Configuration files for Deemix. | | `-v /downloads` | Path to your download folder for music. | @@ -79,9 +80,9 @@ In case you don't want the automagical part (which is really the only value of t ## Audio files conversion -The image uses a modded version of [lidarr-flac2mp3](https://github.com/TheCaptain989/lidarr-flac2mp3) allowing conversion from any format. +The image uses a modded version of lidarr-flac2mp3 allowing conversion from any format. -To enable conversion on Lidarr import, create a new Connection to a Custom Script. You can also provide your own custom conversion script here, see [lidarr-flac2mp3](https://github.com/TheCaptain989/lidarr-flac2mp3) for mode information. +To enable conversion on Lidarr import, create a new Connection to a Custom Script. You can also provide your own custom conversion script here, see [lidarr-flac2mp3](https://github.com/youegraillot/lidarr-flac2mp3) for mode information. !["Lidarr custom script settings"](https://github.com/youegraillot/lidarr-on-steroids/raw/main/.assets/lidarr-custom-script.jpg "Lidarr custom script settings") diff --git a/lidarr-flac2mp3 b/lidarr-flac2mp3 index f203738..4aa69e7 160000 --- a/lidarr-flac2mp3 +++ b/lidarr-flac2mp3 @@ -1 +1 @@ -Subproject commit f20373828e86f7639f03dbdb11de451b52c90682 +Subproject commit 4aa69e7b5dc6c385c3518def7163e7b558978727 diff --git a/root/etc/services.d/setup/run b/root/etc/services.d/setup/run index 802d9ec..75746cd 100644 --- a/root/etc/services.d/setup/run +++ b/root/etc/services.d/setup/run @@ -27,6 +27,7 @@ Flac2MP3 SETUP ---------------------------------------------------------------------- PUID=$PUID PGID=$PGID +FLAC2CUSTOM_ARGS=$FLAC2CUSTOM_ARGS ---------------------------------------------------------------------- "