beetbox / beetbox/beets

fetchart: Choose / convert image formats

Open
#2,706 2 comments 2 reactions 0 assignees View on GitHub
convert feature fetchart
Dominant language
Python
Stars
15.7k
Forks
2.1k
Avg merge
4d 21h
Merged PRs (30d)
31

Description

At present, the ```fetchart``` plugin is oblivious to the format of the images it downloads. While JPG is most common, one may come across cover art in other formats too. For example, MusicBrainz [carries](https://musicbrainz.org/doc/How_to_Add_Cover_Art) GIF, JPG, JPEG, PNG, HTM, HTML, JPE, JFIF and PDF.

Some players, notably in-car entertainment systems, may be picky about the format they display. For example, BMW supports JPG but not PNG. Hence the need to convert the downloaded cover art.

It would be useful if the ```fetchart``` configuration had two extra options:

- **format**: Download images of this format only (gif, jpg, jpeg, png, htm, html, jpe, jfif, pdf)
- **convert_to**: Convert downloaded image to this format (gif, jpg, jpeg, png, htm, html, jpe, jfif, pdf)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.