mirror of
https://github.com/linuxserver/docker-beets
synced 2025-12-06 16:34:31 +01:00
Merge 51dfc41b50 into 7cea1de250
This commit is contained in:
commit
165a1ace7a
4 changed files with 18 additions and 5 deletions
|
|
@ -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 \
|
||||
|
|
@ -103,6 +104,8 @@ ENV BEETSDIR="/config" \
|
|||
EDITOR="nano" \
|
||||
HOME="/config"
|
||||
|
||||
RUN mkdir /downloads #it freaked out without this :(
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
@ -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/ /
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -21,8 +23,8 @@ paths:
|
|||
|
||||
import:
|
||||
write: yes
|
||||
copy: yes
|
||||
move: no
|
||||
copy: no
|
||||
move: yes
|
||||
resume: ask
|
||||
incremental: yes
|
||||
quiet_fallback: skip
|
||||
|
|
|
|||
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue