This commit is contained in:
Danny Trunk 2026-01-18 11:09:52 +01:00 committed by GitHub
commit 6cab6c11e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 40 additions and 14 deletions

View file

@ -88,7 +88,8 @@ RUN \
requests \
requests_oauthlib \
typing-extensions \
unidecode && \
unidecode \
shyaml && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \

View file

@ -89,7 +89,8 @@ RUN \
requests \
requests_oauthlib \
typing-extensions \
unidecode && \
unidecode \
shyaml && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \

View file

@ -256,6 +256,7 @@ serd-libs 0.32.2-r0 apk
shaderc 2024.0-r2 apk
shadow 4.16.0-r1 apk
shared-mime-info 2.4-r2 apk
shyaml 0.6.2 python
six 1.17.0 python
skalibs-libs 2.14.3.0-r0 apk
sord-libs 0.16.16-r0 apk

View file

@ -83,6 +83,8 @@ init_diagram: |
"beets:latest" <- Base Images
# changelog
changelogs:
- {date: "30.12.25:", desc: "Add s6 overlay for drop2beets"}
- {date: "30.12.25:", desc: "Check if plugin web is enabled before running"}
- {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."}

View file

@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
plugins=$(beet config --default | shyaml get-value plugins)
if [[ " $plugins " == *" web "* ]]; then
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
s6-setuidgid abc beet web
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
beet web
fi
fi

View file

@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if pip show drop2beets >/dev/null 2>&1; then
plugins=$(beet config --default | shyaml get-value plugins)
if [[ " $plugins " == *" drop2beets "* ]]; then
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-setuidgid abc beet dropbox
else
exec \
beet dropbox
fi
fi
fi

View file

@ -0,0 +1 @@
longrun

View file

@ -1,12 +0,0 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
s6-setuidgid abc beet web
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
beet web
fi