Skip to content
Open
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
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions package_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."}
Expand Down
16 changes: 16 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/beets-web/run
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/drop2beets/run
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/drop2beets/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
12 changes: 0 additions & 12 deletions root/etc/s6-overlay/s6-rc.d/svc-beets/run

This file was deleted.

Empty file.
Empty file.