sandreas / tone

tone is a cross platform audio tagger and metadata editor to dump and modify metadata for a wide variety of formats, including mp3, m4b, flac and more. It has no dependencies and can be downloaded as single binary for Windows, macOS, Linux and other common platforms.
https://pilabor.com
Apache License 2.0
418 stars 17 forks source link

Embedded Picture Cover Type... #55

Closed gitoss closed 1 week ago

gitoss commented 1 year ago

Embedding an image with "tone --meta-cover-file=image.jpg audio.mp3", works nicely, but no Type is set (not is there a command line for setting it). For mp3 this defaults to "Other" and not "Cover (Front)" like the default in just about any tool I've tried before.

You can check with mediainfo, exiftool, ... and id3-images.exe extracts the file to "other.jpg" and not front_cover.jpg.

Using tone release 0.1.5 on Windows.

sandreas commented 1 year ago

Also atldotnet maintainer.

noidwasavailable commented 2 weeks ago

Is there any update on this? I tried using tone to add metadata to some files, and the album art is correctly shown for Apple Music, but it isn't shown for Finder and Spotify, and I assume it's related.

Edit: Doesn't show on the Music app on the iPhone either...

sandreas commented 1 week ago

I try to fix this in the next release.

EDIT: Possible solutions:

--meta-cover-file="image.jpg" --meta-cover-file-type="front"

--meta-cover-file="front://image.jpg"
sandreas commented 1 week ago

Well, investigating the code, I found something I completely forgot. If you name the cover cover.front.jpg it will be used as front cover. It checks the file name for front. - this also works for other types like back., cd., etc.

While this is not fixing your issue, it may be interesting as a temporary workaround.

For the next release I'm not going to implement a new parameter style but just using the first cover as FRONT, the second as BACK and the third as CD, as long as the filename does not contain keywords. Using GENERIC as default is not helpful at all.