After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738804 - Set any image file, regardless of file name, to "Cover (front)" by default?
Set any image file, regardless of file name, to "Cover (front)" by default?
Status: RESOLVED FIXED
Product: easytag
Classification: Other
Component: general
2.2.x
Other Linux
: Normal enhancement
: 2.2
Assigned To: EasyTAG maintainer(s)
EasyTAG maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-10-19 12:24 UTC by matthew
Modified: 2014-10-22 23:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the potential enhancement. (146.55 KB, image/png)
2014-10-19 12:24 UTC, matthew
Details

Description matthew 2014-10-19 12:24:43 UTC
Created attachment 288842 [details]
Screenshot of the potential enhancement.

Hey there,

I've been tagging some AC/DC MP3s with cover art, and for the albums "Back In Black" and "Backtracks", I have jpg files called "backinblack.jpg" and "backtracks.jpg".

When I go to tag all files with those images, EasyTag automatically sets them as type "Cover (back)" even though they are actually the front covers.

I then have to go back and manually change them to type "Cover (front)" one at a time, since it doesn't seem like this can be done as a bulk operation.

For Backtracks, I even tried changing the filename to "acdcbacktracks.jpg", and the same thing happens.

And for "AC/DC Live", Easytag sets "acdclive.jpg" as "Media (e.g. label side of CD) for those MP3s.

Could there be a way to automatically set the image as type "Cover (front)" as default, no matter what the filename of the image is?

Cheers,
Matthew
Comment 1 David King 2014-10-19 12:43:25 UTC
As you might have guessed, there is a bit of automation going on here. Any filename containing "back" is set to back cover, and any filename containing "CD" is set to media. There is a list of mappings in the souce:

https://git.gnome.org/browse/easytag/tree/src/picture.c#n76

It is quite primitive, especially for "front, "back" and "CD", which are quite likely to give the wrong type, and it makes sense to either be smarter or to provide a setting like you request.
Comment 2 matthew 2014-10-19 13:19:09 UTC
Thanks for your reply, David, and good to see the source of this behavior.

I could never figure out why cover art wouldn't appear in Audacious or on some of my MP3 players for certain albums even though I swore that I had added the embedded art. It was a head-scratcher for a long time until I finally noticed what was happening. :)

Cheers,
Matthew
Comment 3 David King 2014-10-22 23:14:27 UTC
Fixed on master as 9810819b5442428520dfee21fb5ede5188fb4112. The change will be included in the next unstable release (not sure when).