geigerzaehler / beets-alternatives

Beets plugin to manage external files
MIT License
93 stars 21 forks source link

Copy album art #58

Open pkel opened 3 years ago

pkel commented 3 years ago

This is my first take on #43 . It's the first time I look into beets (plugin) code. I will need your input to bring this into shape.

I'm confused by the implementation of sync_art / embed. From reading the code it seems that album art is embedded even if convert.embed is set to false. More specifically, I think SYNC_ART is set independent of the configuration option.

PS: Thanks for developing this awesome plugin.

geigerzaehler commented 3 years ago

Thanks for tackling this, @pkel! This is already a great start. The next step woulds be to document this feature in README.md and write some tests.

The documentation should mention the fine points of this implementation:

The tests should include the following test cases

After this we can tweak the implementation.

If you need more help, feel free to ask for it.

From reading the code it seems that album art is embedded even if convert.embed is set to false.

Yes, you’re right. Do you expect covert.embed to control that behavior (even though it configures a different plugin)? Do we need our own configuration setting for this? Feel free to discuss this in an issue.