The plugin simply doesn’t run on import, apparently. Running the following, for example:
beet -vv import "/mnt/user/downloads/permaseed/temp/[insert album folder]"
and I get a log listing what the rest of my plugins are doing and what beets is doing, but nothing with “extrafiles” and nothing gets imported.
Running beets on the linuxserver docker container. I used pip3 install --user beets-extrafiles
as root in the container for installation as instructed in their documentation.
edit: still doesn’t work when i use pip3 install beets-extrafiles
(where the rest of my plugins are)
I was hoping someone else might know how to check why a plugin might straight up not run on import with no errors, or with this particular plugin? It is listed when I use beet --version
Here’s my config, maybe there’s something wrong with it somewhere:
plugins: fetchart embedart convert scrub lastgenre chroma web ftintitle importadded inline discogs badfiles bandcamp duplicates mbsync extrafiles originquery
directory: /mnt/user/downloads/hardlinks/music
library: /config/musiclibrary.blb
art_filename: cover
threaded: yes
original_date: no
per_disc_numbering: yes
paths:
default: 'Albums/%asciify{$albumartist} - %asciify{$album} ($year) %if{$catalognum,[$catalognum] ,$albumdisambig }[$country $u_media $u_format]/%if{$multidisc,$disc-}$track. %asciify{$title}'
singleton: 'Singles/%asciify{$artist} - %asciify{$title}'
comp: 'Compilations/%asciify{$albumartist} - %asciify{$album} ($year) %if{$catalognum,[$catalognum] ,$albumdisambig }[$country $u_media $u_format]/%if{$multidisc,$disc-}$track. %asciify{$title}'
albumtype_soundtrack: 'Soundtracks/%asciify{$albumartist} - %asciify{$album} ($year) %if{$catalognum,[$catalognum] ,$albumdisambig }[$country $u_media $u_format]/%if{$multidisc,$disc-}$track. %asciify{$title}'
ignore: .AppleDouble ._* *~ .DS_Store
import:
write: yes
copy: no
move: no
hardlink: yes
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
originquery:
origin_file: "TrackerMetadata/redacted - Release.json"
tag_patterns:
media: '$.response.torrent.media'
year: '$.response.torrent.remasterYear'
label: '$.response.torrent.remasterRecordLabel'
catalognum: '$.response.torrent.remasterCatalogueNumber'
albumdisambig: '$.response.torrent.remasterTitle'
ftintitle:
auto: yes
importadded:
preserve_mtimes: yes
preserve_write_mtimes: yes
extrafiles:
patterns:
artworkdir:
- '*.[jJ][pP][gG]'
- '*.[pP][nN][gG]'
- '*.[jJ][pP][eE][gG]'
- '[sS]cans/'
- '[aA]rtwork/'
other:
- '*.[cC][uU][eE]'
- '*.[lL][oO][gG]'
- '*.[tT][xX][tT]'
- '*.[sS][fF][vV]'
- '*.[mM]3[uU]'
- '*.[mM]3[uU]8'
- '*.[nN][fF][oO]'
- '*.[pP][dD][fF]'
- '*.[mM][dD]5'
- '*.[pP][lL][sS]'
- '*.[aA][cC][cC][uU]'
paths:
artworkdir: $albumpath/artwork/$filename
other: $albumpath/$filename
item_fields:
multidisc: 1 if disctotal > 1 else 0
album_fields:
u_format: |
item = items[0]
if item.format == "FLAC" and item.bitdepth == 24 and item.samplerate == 96:
return "FLAC 24-96"
if item.format == "FLAC" and item.bitdepth == 24 and item.samplerate == 192:
return "FLAC 24-192"
return item.format
u_media: |
item = items[0]
if "Vinyl" in item.media:
item.media = "Vinyl"
elif "Digital Media" in item.media:
item.media = "WEB"
return item.media
musicbrainz:
extra_tags: [year, catalognum, country, media, label]