Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:3.21
FROM ghcr.io/linuxserver/baseimage-alpine:3.23

# set version label
ARG BUILD_DATE
Expand All @@ -21,6 +21,7 @@ RUN \
git \
gobject-introspection-dev \
jpeg-dev \
libedit-dev \
libpng-dev \
mpg123-dev \
openjpeg-dev \
Expand All @@ -42,21 +43,19 @@ RUN \
libffi \
libpng \
mpg123 \
mp3gain \
nano \
openjpeg \
python3 \
sqlite-libs && \
echo "**** compile mp3gain ****" && \
mkdir -p \
/tmp/mp3gain-src && \
curl -o \
/tmp/mp3gain-src/mp3gain.zip -sL \
https://sourceforge.net/projects/mp3gain/files/mp3gain/1.6.2/mp3gain-1_6_2-src.zip && \
cd /tmp/mp3gain-src && \
unzip -qq /tmp/mp3gain-src/mp3gain.zip && \
sed -i "s#/usr/local/bin#/usr/bin#g" /tmp/mp3gain-src/Makefile && \
make && \
make install && \
echo "**** install beets ****" && \
echo "**** install pip packages ****" && \
if [ -z ${BEETS_VERSION+x} ]; then \
BEETS_VERSION=$(curl -sL https://pypi.python.org/pypi/beets/json |jq -r '. | .info.version'); \
fi && \
git clone https://github.com/beetbox/beets.git /tmp/beets && \
cd /tmp/beets && \
git checkout -f "v${BEETS_VERSION}" && \
echo "**** compile mp3val ****" && \
mkdir -p \
/tmp/mp3val-src && \
Expand All @@ -68,20 +67,21 @@ RUN \
make -f Makefile.linux && \
cp -p mp3val /usr/bin && \
echo "**** install pip packages ****" && \
if [ -z ${BEETS_VERSION+x} ]; then \
BEETS_VERSION=$(curl -sL https://pypi.python.org/pypi/beets/json |jq -r '. | .info.version'); \
fi && \
python3 -m venv /lsiopy && \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
setuptools && \
echo "**** install beets ****" && \
cd /tmp/beets && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ . && \
echo "**** install pip packages ****" && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ \
beautifulsoup4 \
beets==${BEETS_VERSION} \
beets-extrafiles \
beetcamp \
python3-discogs-client \
flask \
flask-cors \
PyGObject \
pyacoustid \
pylast \
Expand Down
36 changes: 17 additions & 19 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.23

# set version label
ARG BUILD_DATE
Expand All @@ -21,6 +21,7 @@ RUN \
git \
gobject-introspection-dev \
jpeg-dev \
libedit-dev \
libpng-dev \
mpg123-dev \
openjpeg-dev \
Expand All @@ -30,7 +31,6 @@ RUN \
chromaprint \
expat \
ffmpeg \
ffmpeg-libs \
fftw \
flac \
gdbm \
Expand All @@ -42,22 +42,19 @@ RUN \
lame \
libffi \
libpng \
mp3gain \
mpg123 \
nano \
openjpeg \
python3 \
sqlite-libs && \
echo "**** compile mp3gain ****" && \
mkdir -p \
/tmp/mp3gain-src && \
curl -o \
/tmp/mp3gain-src/mp3gain.zip -sL \
https://sourceforge.net/projects/mp3gain/files/mp3gain/1.6.2/mp3gain-1_6_2-src.zip && \
cd /tmp/mp3gain-src && \
unzip -qq /tmp/mp3gain-src/mp3gain.zip && \
sed -i "s#/usr/local/bin#/usr/bin#g" /tmp/mp3gain-src/Makefile && \
make && \
make install && \
echo "**** install beets ****" && \
if [ -z ${BEETS_VERSION+x} ]; then \
BEETS_VERSION=$(curl -sL https://pypi.python.org/pypi/beets/json |jq -r '. | .info.version'); \
fi && \
git clone https://github.com/beetbox/beets.git /tmp/beets && \
cd /tmp/beets && \
git checkout -f "v${BEETS_VERSION}" && \
echo "**** compile mp3val ****" && \
mkdir -p \
/tmp/mp3val-src && \
Expand All @@ -69,20 +66,21 @@ RUN \
make -f Makefile.linux && \
cp -p mp3val /usr/bin && \
echo "**** install pip packages ****" && \
if [ -z ${BEETS_VERSION+x} ]; then \
BEETS_VERSION=$(curl -sL https://pypi.python.org/pypi/beets/json |jq -r '. | .info.version'); \
fi && \
python3 -m venv /lsiopy && \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
setuptools && \
echo "**** install beets ****" && \
cd /tmp/beets && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ . && \
echo "**** install pip packages ****" && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ \
beautifulsoup4 \
beets==${BEETS_VERSION} \
beets-extrafiles \
beetcamp \
python3-discogs-client \
flask \
flask-cors \
PyGObject \
pyacoustid \
pylast \
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ init_diagram: |
"beets:latest" <- Base Images
# changelog
changelogs:
- {date: "01.02.26:", desc: "Rebase to Alpine 3.23."}
- {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
- {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}
- {date: "28.08.24:", desc: "Rebase to Alpine 3.20, switch from Pillow to Imagemagick."}
Expand Down
9 changes: 5 additions & 4 deletions root/defaults/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ convert:
opts: -ab 320k -ac 2 -ar 48000
max_bitrate: 320
threads: 1

paths:
default: $albumartist/$album%aunique{}/$track - $title
singleton: Non-Album/$artist - $title
comp: Compilations/$album%aunique{}/$track - $title
albumtype_soundtrack: Soundtracks/$album/$track $title
albumtype_soundtrack: Soundtracks/$album/$track $title

import:
write: yes
copy: yes
Expand All @@ -38,9 +38,10 @@ embedart:

fetchart:
auto: yes

replaygain:
auto: no
command: mp3gain

scrub:
auto: yes
Expand Down