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
5 changes: 4 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 \
drop2beets && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
Expand All @@ -103,6 +104,8 @@ ENV BEETSDIR="/config" \
EDITOR="nano" \
HOME="/config"

RUN mkdir /downloads #it freaked out without this :(

# copy local files
COPY root/ /

Expand Down
5 changes: 4 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 \
drop2beets && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
Expand All @@ -104,6 +105,8 @@ ENV BEETSDIR="/config" \
EDITOR="nano" \
HOME="/config"

RUN mkdir /downloads #it doesn't start without this :/

# copy local files
COPY root/ /

Expand Down
8 changes: 5 additions & 3 deletions root/defaults/config.yaml
Original file line number Diff line number Diff line change
@@ -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
library: /config/musiclibrary.blb
art_filename: albumart
Expand All @@ -21,8 +23,8 @@ paths:

import:
write: yes
copy: yes
move: no
copy: no
move: yes
resume: ask
incremental: yes
quiet_fallback: skip
Expand Down
5 changes: 5 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/svc-beets/run
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

if [[ -v DROP_ENABLED ]]; then
echo "dropbox is enabled"
beet dropbox &
fi

if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
Expand Down