Skip to content

Commit f1f827b

Browse files
committed
Add drop2beets
1 parent b03400c commit f1f827b

File tree

7 files changed

+20
-2
lines changed

7 files changed

+20
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ RUN \
8989
requests_oauthlib \
9090
typing-extensions \
9191
unidecode \
92-
shyaml && \
92+
shyaml \
93+
drop2beets && \
9394
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
9495
echo "**** cleanup ****" && \
9596
apk del --purge \

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ RUN \
9090
requests_oauthlib \
9191
typing-extensions \
9292
unidecode \
93-
shyaml && \
93+
shyaml \
94+
drop2beets && \
9495
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
9596
echo "**** cleanup ****" && \
9697
apk del --purge \

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ init_diagram: |
8383
"beets:latest" <- Base Images
8484
# changelog
8585
changelogs:
86+
- {date: "30.12.25:", desc: "Add drop2beets"}
8687
- {date: "30.12.25:", desc: "Check if plugin web is enabled before running"}
8788
- {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
8889
- {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}

root/etc/s6-overlay/s6-rc.d/drop2beets/dependencies.d/init-services

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/with-contenv bash
2+
# shellcheck shell=bash
3+
4+
plugins=$(beet config --default | shyaml get-value plugins)
5+
6+
if [[ " $plugins " == *" drop2beets "* ]]; then
7+
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
8+
exec \
9+
s6-setuidgid abc beet dropbox
10+
else
11+
exec \
12+
beet dropbox
13+
fi
14+
fi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
longrun

root/etc/s6-overlay/s6-rc.d/user/contents.d/drop2beets

Whitespace-only changes.

0 commit comments

Comments
 (0)