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