Minor updates to running importer
This commit is contained in:
parent
bc52af79de
commit
431183135a
@ -7,6 +7,7 @@ RUN mkdir /beets
|
||||
VOLUME /beets
|
||||
ENV BEETSDIR=/beets
|
||||
|
||||
COPY ./config.yaml ./
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends vim
|
||||
ENV EDITOR=vim
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/beet"]
|
||||
|
11
Makefile
11
Makefile
@ -1,8 +1,11 @@
|
||||
DOCKER_TAG := beets-dev-${USER}
|
||||
SOURCE_DIR := ~/Music/Incoming
|
||||
TARGET_DIR := ~/Music/Library
|
||||
DOCKER_TAG ?= beets-dev
|
||||
SOURCE_DIR ?= ~/Music/Incoming
|
||||
TARGET_DIR ?= ~/Music/Library
|
||||
BEET_CMD := BEETSDIR=. ./beets_env/bin/beet -d $(TARGET_DIR)
|
||||
|
||||
test:
|
||||
echo $(SOURCE_DIR)
|
||||
|
||||
default: beets_env
|
||||
|
||||
# Creates virtualenv with beets
|
||||
@ -41,7 +44,7 @@ docker-import: docker-build
|
||||
-v $(TARGET_DIR):/library \
|
||||
$(DOCKER_TAG) \
|
||||
-d /library \
|
||||
import -i -c /import
|
||||
import -i /import
|
||||
|
||||
docker-duplicates: docker-build
|
||||
docker run --rm -it \
|
||||
|
@ -2,7 +2,7 @@
|
||||
# directory: ~/Music/Music
|
||||
|
||||
#musicbrainz:
|
||||
# host: localhost:5000
|
||||
# host: musicbrainz:5000
|
||||
# ratelimit: 100
|
||||
|
||||
import:
|
||||
@ -32,6 +32,7 @@ plugins:
|
||||
- web
|
||||
- duplicates
|
||||
- play
|
||||
- edit
|
||||
|
||||
fetchart:
|
||||
cautious: yes
|
||||
|
Loading…
Reference in New Issue
Block a user