From 6924d21842a9bf3b0ca8e4308d2eacdb199f833d Mon Sep 17 00:00:00 2001 From: jsaddiction <04reduramax@gmail.com> Date: Sun, 4 Jun 2023 23:03:38 -0400 Subject: [PATCH] add beets image handling support --- amd64.dockerfile | 1 + arm32v7.dockerfile | 1 + arm64v8.dockerfile | 1 + root/scripts/beets-config.yaml | 24 +++++++++++++++++++++++- 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/amd64.dockerfile b/amd64.dockerfile index 99fe45b..490e019 100644 --- a/amd64.dockerfile +++ b/amd64.dockerfile @@ -45,6 +45,7 @@ RUN \ git \ gcc \ ffmpeg \ + imagemagick \ opus-tools \ python3-dev \ libc-dev \ diff --git a/arm32v7.dockerfile b/arm32v7.dockerfile index 83791c1..294331e 100644 --- a/arm32v7.dockerfile +++ b/arm32v7.dockerfile @@ -56,6 +56,7 @@ RUN \ gcc \ opus-tools \ ffmpeg \ + imagemagick \ python3-dev \ libc-dev \ py3-pip \ diff --git a/arm64v8.dockerfile b/arm64v8.dockerfile index 1281fdc..0669dd2 100644 --- a/arm64v8.dockerfile +++ b/arm64v8.dockerfile @@ -56,6 +56,7 @@ RUN \ gcc \ opus-tools \ ffmpeg \ + imagemagick \ python3-dev \ libc-dev \ py3-pip \ diff --git a/root/scripts/beets-config.yaml b/root/scripts/beets-config.yaml index e6ea916..dc6d761 100644 --- a/root/scripts/beets-config.yaml +++ b/root/scripts/beets-config.yaml @@ -1,4 +1,4 @@ -plugins: chroma embedart lastgenre +plugins: chroma embedart lastgenre fetchart embedart art_filename: folder threaded: no per_disc_numbering: yes @@ -83,3 +83,25 @@ lastgenre: separator: ', ' whitelist: /config/extended/scripts/beets-genre-whitelist.txt title_case: yes + +fetchart: + auto: no + cautious: no + enforce_ratio: yes + minwidth: 1000 + maxwidth: 3000 + sources: + - filesystem + - coverart + - albumart + # - fanarttv + - bandcamp +# fanarttv_key: yourAPIkey + store_source: yes + +embedart: + auto: no + compare_threshold: 50 + ifempty: yes + maxwidth: 0 + remove_art_file: no \ No newline at end of file