sbarakat / beets-copyartifacts

A plugin for beets that moves non-music files during the import process.
MIT License
59 stars 25 forks source link

Add support for multiple discs #15

Open dagobert opened 10 years ago

dagobert commented 10 years ago

I have used your plugin to copy artefacts with the music files. While testing and optimizing my configuration, I finally encountered a problem.

Parts of my beets.conf

per_disc_numbering: yes

paths: default: Music/Album/$albumartist/[$year] $album%aunique{}%if{$isMultiDisc,/CD $disc}/$track. $title item_fields: isMultiDisc: u'yes' if disctotal > 1 else u''

copyartifacts: extensions: .* print_ignored: yes

When I import an album that contains of two disks, the artefacts of both discs end up in one of the subfolders. I tried it many time and it is not consistend in which of the CD XX folders they end up.

dagobert commented 10 years ago

It seems that the artefacts end up in the folder beet is copying the first file.

sbarakat commented 9 years ago

Hi, thanks for the report! Yes there is somewhat of an issue with multi disc albums as the plugin doesn't have access to the disc number in the same way that beets does. I hope to find another workaround for this soon.