Simultaneous usage of hardlinks and copy with "include"

Can I use the "include: " line to have a separate plugin use copy instead of hardlinks?

I want all the music files to be hardlinked while the “extrafiles” to copy, since the plugin doesn’t apparently support hardlinks.

e.g. config.yaml (shortened for reading)

plugins: fetchart embedart convert scrub lastgenre chroma web ftintitle importadded inline discogs badfiles duplicates mbsync
directory: /mnt/user/downloads/hardlinks/music
library: /config/musiclibrary.blb
threaded: yes
original_date: no
per_disc_numbering: yes
include: 
    - config_extrafiles.yaml
ignore_hidden:yes
ignore: .AppleDouble ._* *~ .DS_Store 

paths:
import:
    write: yes
    copy: no
    move: no
    hardlink: yes
    resume: ask
    incremental: yes
    quiet_fallback: skip
    timid: no
    log: /config/beet.log
lastgenre:
embedart:
fetchart:
replaygain:
scrub:
replace:
web:
ftintitle:
item_fields:
album_fields:

with config_extrafiles.yaml

plugins: badfiles extrafiles inline
directory: /mnt/user/downloads/hardlinks/music
library: /config/musiclibrary.blb
threaded: yes
original_date: no
per_disc_numbering: yes
ignore_hidden:yes
ignore: .AppleDouble ._* *~ .DS_Store 

paths:
import:
    write: yes
    copy: yes
    move: no
    hardlink: no
    resume: ask
    incremental: yes
    quiet_fallback: skip
    timid: no
    log: /config/beet_extrafiles.log
replace:
extrafiles:
    patterns:
        artworkdir:
            - '*.[jJ][pP][gG]'
            - '*.[pP][nN][gG]'
            - '*.[jJ][pP][eE][gG]'
            - '[sS]cans/'
            - '[aA]rtwork/'
        data:
            - '*.[cC][uU][eE]'
            - '*.[lL][oO][gG]'
        extras:
            - '*.[tT][xX][tT]'
            - '*.[nN][fF][oO]'
            - '*.[pP][dD][fF]'
            - '*.[mM][dD]5'
            - '*.[sS][fF][vV]'
            - '*.[mM]3[uU]'
            - '*.[mM]3[uU]8'
            - '*.[pP][lL][sS]'
            - '*.[aA][cC][cC][uU]'
        trackermetadata:
            - '*.[jJ][sS][oO][nN]'
    paths:
        artworkdir: $albumpath/Artwork/$filename
        data: $albumpath/$artistname - $album %if{$catalognum,[$catalognum],$albumdisambig}
        extras: $albumpath/Extras/$filename
        trackermetadata: $albumpath/TrackerMetadata/$filename
item_fields:
album_fields:

All include does is use all the configuration options from a given file, just as if you had included all those options right there. It won’t affect the behavior of a third-party plugin.

Dang :confused: I’ll have to figure out a different method, maybe run beets twice with two separate config files…