beets-copyartifacts icon indicating copy to clipboard operation
beets-copyartifacts copied to clipboard

copyartifacts ignoring files

Open devster31 opened this issue 6 years ago • 2 comments

I'm trying to import a FLAC album, below my configuration:

paths:
    ext:log: $albumpath/$album%if{$multidisc, - Disc $disc}
    ext:cue: $albumpath/$album%if{$multidisc, - Disc $disc}
    ext:jpg: $albumpath/original_cover

item_fields:
    multidisc: 1 if disctotal > 1 else 0

copyartifacts:
    extensions: .cue .log .jpg
    print_ignored: yes

And here the output of an example import:

$ beet import Yeezus\ -\ Kanye\ West\ \[2013\]\ \(FLAC\)/

/downloads/music/mutracker/Yeezus - Kanye West [2013] (FLAC) (10 items)
Tagging:
    Kanye West - Yeezus
URL:
    https://musicbrainz.org/release/d607b7f8-9d2f-4387-be7c-0693d185d272
(Similarity: 100.0%) (CD, 2013, GB, Def Jam Recordings)
 * I Am A God (feat. God) -> I Am a God (feat. God)
 * I'm In It              -> I'm in It
 * Blood On The Leaves    -> Blood on the Leaves
copyartifacts: Ignored files:
copyartifacts:    02 - Black Skinhead.flac
copyartifacts:    03 - I Am A God (feat. God).flac
copyartifacts:    04 - New Slaves.flac
copyartifacts:    05 - Hold My Liquor.flac
copyartifacts:    06 - I'm In It.flac
copyartifacts:    07 - Blood On The Leaves.flac
copyartifacts:    08 - Guilt Trip.flac
copyartifacts:    09 - Send It Up.flac
copyartifacts:    10 - Bound 2.flac
copyartifacts:    Kanye West - Yeezus [2013].cue
copyartifacts:    Kanye West - Yeezus.jpg
copyartifacts:    Kanye West - Yeezus.log
copyartifacts:    Kanye West - Yeezus.m3u

What am I missing?

@Stunner, I've seen your comment on beetbox/beets#111 and I was wondering if maybe it's something in my config that's causing issues.

devster31 avatar Aug 29 '17 08:08 devster31

I merely have set it to copy over any file extension with the following options (you can see my entire config file as part of this issue):

copyartifacts:
    extensions: .*
    print_ignored: yes

And I manually delete anything I don't want. This plugin is very much in a pre-release stage, thats why it hasn't been included as yet so there will be a lot of finicky things you'll have to put up with/look out for. Since my music library primarily consists of mp3 files rather than flac files I am not sure if you are experiencing this because the code doesn't recognize flac or if its a configuration issue.

Also I have these options for import:

import:
    move: yes
    log: /Volumes/Drobo Vol 1/Music/beets/beets-import.log

Hope this helps.

Stunner avatar Aug 31 '17 08:08 Stunner

fixed https://github.com/sbarakat/beets-copyartifacts/commit/fb03ca78e1af13d72d66918505a3c67505562299

Thank you very much @sbarakat

jee-r avatar Oct 24 '17 13:10 jee-r