This commit is contained in:
Beppe Vanrolleghem 2025-11-28 22:08:39 +00:00 committed by GitHub
commit 165a1ace7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 5 deletions

View file

@ -88,7 +88,8 @@ RUN \
requests \ requests \
requests_oauthlib \ requests_oauthlib \
typing-extensions \ typing-extensions \
unidecode && \ unidecode \
drop2beets && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apk del --purge \ apk del --purge \
@ -103,6 +104,8 @@ ENV BEETSDIR="/config" \
EDITOR="nano" \ EDITOR="nano" \
HOME="/config" HOME="/config"
RUN mkdir /downloads #it freaked out without this :(
# copy local files # copy local files
COPY root/ / COPY root/ /

View file

@ -89,7 +89,8 @@ RUN \
requests \ requests \
requests_oauthlib \ requests_oauthlib \
typing-extensions \ typing-extensions \
unidecode && \ unidecode \
drop2beets && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apk del --purge \ apk del --purge \
@ -104,6 +105,8 @@ ENV BEETSDIR="/config" \
EDITOR="nano" \ EDITOR="nano" \
HOME="/config" HOME="/config"
RUN mkdir /downloads #it doesn't start without this :/
# copy local files # copy local files
COPY root/ / COPY root/ /

View file

@ -1,4 +1,6 @@
plugins: fetchart embedart convert scrub replaygain lastgenre chroma web plugins: fetchart embedart convert scrub replaygain lastgenre chroma web drop2beets
drop2beets:
dropbox_path: /downloads
directory: /music directory: /music
library: /config/musiclibrary.blb library: /config/musiclibrary.blb
art_filename: albumart art_filename: albumart
@ -21,8 +23,8 @@ paths:
import: import:
write: yes write: yes
copy: yes copy: no
move: no move: yes
resume: ask resume: ask
incremental: yes incremental: yes
quiet_fallback: skip quiet_fallback: skip

View file

@ -1,6 +1,11 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
# shellcheck shell=bash # shellcheck shell=bash
if [[ -v DROP_ENABLED ]]; then
echo "dropbox is enabled"
beet dropbox &
fi
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \ exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \