Add some more plugins

This commit is contained in:
IamTheFij 2019-06-28 18:03:23 -07:00
parent 1320ddebc0
commit bc52af79de
2 changed files with 26 additions and 4 deletions

View File

@ -19,6 +19,10 @@ reimport: beets_env
import: beets_env import: beets_env
$(BEET_CMD) import -i -c $(SOURCE_DIR) $(BEET_CMD) import -i -c $(SOURCE_DIR)
# List all duplicates
duplicates: beets_env
$(BEET_CMD) duplicates
# Launch beets web interface # Launch beets web interface
web: beets_env web: beets_env
$(BEET_CMD) web $(BEET_CMD) web
@ -33,8 +37,17 @@ docker-build:
docker-import: docker-build docker-import: docker-build
docker run --rm -it \ docker run --rm -it \
-v $(shell pwd):/beets \ -v $(shell pwd):/beets \
-v $(SOURCE_DIR):/source \ -v $(SOURCE_DIR):/import \
-v $(TARGET_DIR):/target \ -v $(TARGET_DIR):/library \
$(DOCKER_TAG) \ $(DOCKER_TAG) \
-d /target \ -d /library \
import -i -c /source import -i -c /import
docker-duplicates: docker-build
docker run --rm -it \
-v $(shell pwd):/beets \
-v $(SOURCE_DIR):/import \
-v $(TARGET_DIR):/library \
$(DOCKER_TAG) \
-d /library \
duplicates

View File

@ -30,6 +30,8 @@ plugins:
- lastgenre - lastgenre
- ftintitle - ftintitle
- web - web
- duplicates
- play
fetchart: fetchart:
cautious: yes cautious: yes
@ -37,3 +39,10 @@ fetchart:
lastgenre: lastgenre:
# prefer_specific: yes # prefer_specific: yes
count: 2 count: 2
duplicates:
tiebreak:
items: ['bitrate']
play:
raw: yes