move to compose
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
docker pull linuxserver/beets
|
|
||||||
docker rm -f beets || true
|
|
||||||
docker run -d \
|
|
||||||
--name=beets \
|
|
||||||
-v /data/media/music/sydnie-untagged/NewPipe:/sydnie \
|
|
||||||
-v /data/media/music/Alex-untagged:/alex \
|
|
||||||
-v /data/media/music/managed:/managed \
|
|
||||||
-v /home/alex/beets/output:/config \
|
|
||||||
-v /data/media/music/tagged:/config/music \
|
|
||||||
-e PUID=1000 \
|
|
||||||
-e PGID=1000 \
|
|
||||||
linuxserver/beets
|
|
||||||
|
|
||||||
# docker exec -it -u 1000 beets bash -c "beet import -is /alex/*"
|
|
||||||
62
home-server/beets/config.yaml
Normal file
62
home-server/beets/config.yaml
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
plugins: fetchart embedart convert scrub replaygain lastgenre chroma web
|
||||||
|
directory: /output/music
|
||||||
|
library: /config/musiclibrary.blb
|
||||||
|
art_filename: albumart
|
||||||
|
threaded: yes
|
||||||
|
original_date: no
|
||||||
|
per_disc_numbering: no
|
||||||
|
|
||||||
|
convert:
|
||||||
|
auto: no
|
||||||
|
ffmpeg: /usr/bin/ffmpeg
|
||||||
|
opts: -ab 320k -ac 2 -ar 48000
|
||||||
|
max_bitrate: 320
|
||||||
|
threads: 1
|
||||||
|
|
||||||
|
paths:
|
||||||
|
default: $albumartist/$album%aunique{}/$track - $title
|
||||||
|
singleton: Non-Album/$artist - $title
|
||||||
|
comp: Compilations/$album%aunique{}/$track - $title
|
||||||
|
albumtype_soundtrack: Soundtracks/$album/$track $title
|
||||||
|
|
||||||
|
import:
|
||||||
|
write: yes
|
||||||
|
copy: yes
|
||||||
|
move: no
|
||||||
|
resume: ask
|
||||||
|
incremental: yes
|
||||||
|
quiet_fallback: skip
|
||||||
|
timid: no
|
||||||
|
log: /config/beet.log
|
||||||
|
|
||||||
|
lastgenre:
|
||||||
|
auto: yes
|
||||||
|
source: album
|
||||||
|
|
||||||
|
embedart:
|
||||||
|
auto: yes
|
||||||
|
|
||||||
|
fetchart:
|
||||||
|
auto: yes
|
||||||
|
|
||||||
|
replaygain:
|
||||||
|
auto: no
|
||||||
|
|
||||||
|
scrub:
|
||||||
|
auto: yes
|
||||||
|
|
||||||
|
replace:
|
||||||
|
'^\.': _
|
||||||
|
'[\x00-\x1f]': _
|
||||||
|
'[<>:"\?\*\|]': _
|
||||||
|
'[\xE8-\xEB]': e
|
||||||
|
'[\xEC-\xEF]': i
|
||||||
|
'[\xE2-\xE6]': a
|
||||||
|
'[\xF2-\xF6]': o
|
||||||
|
'[\xF8]': o
|
||||||
|
'\.$': _
|
||||||
|
'\s+$': ''
|
||||||
|
|
||||||
|
web:
|
||||||
|
host: 0.0.0.0
|
||||||
|
port: 8337
|
||||||
19
home-server/beets/docker-compose.yml
Normal file
19
home-server/beets/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
beets:
|
||||||
|
image: linuxserver/beets
|
||||||
|
container_name: beets
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
volumes:
|
||||||
|
- /data/media/music/sydnie-untagged/NewPipe:/sydnie
|
||||||
|
- /data/media/music/Alex-untagged:/alex
|
||||||
|
- /data/media/music/managed:/managed
|
||||||
|
|
||||||
|
- /data/beets/output:/config
|
||||||
|
- ./config.yaml:/config/config.yaml
|
||||||
|
- /data/media/music/tagged:/output/music
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
# docker exec -it -u 1000 beets bash -c "beet import -is /alex/*"
|
||||||
Reference in New Issue
Block a user