Jump to content

Recommended Posts

Poweramp shows the wrong album art when m4a files have multiple covers, instead of the primary one (mp3 files work correctly however).

Below screenshots are from musicbee showing that the m4a file has multiple covers (3 in this case, one is marked as "primary")

After some testing I have seen that all other players on android always show the art marked as "primary" but not sure what logic Poweramp follows because here it is showing second one, and it never shows the first image in case of m4a files.
(NOTE: only foobar android has capability to show other arts as well)

image.png.fc85e1f550231bfa6bc8732c62297250.png

image.png.a99fe474b8498f6b91ed0b61ef9c55a0.png

image.png.e42ac401f421606991f58dd8bf58a6b9.png

 

Art shown by Poweramp:
 

image.thumb.jpeg.823067847552a2cabfcc73df7609b25d.jpeg

 

I have tried multiple other players and none so far have this issue, they all show the primary one correctly: 
AIMP : PlayerPro : Foobar : Musicolet : PhonoGraph Plus (screenshots respectively)
image.thumb.jpeg.b5723dd810b72ad806ea2be689c43925.jpegimage.thumb.jpeg.1d2c0ecdca31f0f69ef5eeef06c6402e.jpegimage.thumb.jpeg.fd7db29cdd4e2211a1bb26f0676999b0.jpegimage.thumb.jpeg.39d74ebc5283ca91006323724783406f.jpegimage.thumb.jpeg.50c3958720a771ba3656ef27bdc1734e.jpeg

 

Sample file for test:

 

Foobar2000 can show different images too but by default shows the primary one:
Screenshot_2023-11-05-20-01-44-261_com.foobar2000.foobar2000.thumb.jpg.a2fa480bb919fc62a089835eb2bd2423.jpgScreenshot_2023-11-05-20-01-57-094_com.foobar2000.foobar2000.thumb.jpg.80f5d73ed076e3b250b42f88f5cbc3e1.jpgScreenshot_2023-11-05-20-01-53-166_com.foobar2000.foobar2000.thumb.jpg.57cc82e4ce8c2020c364d3ac7f785f91.jpg

 

I think Poweramp just uses the first image it finds in the file and ignores anything else. I'll move this to Feature Requests as I agree it would be nice to follow the item descriptors.

Andre

7 hours ago, andrewilley said:

I think Poweramp just uses the first image it finds in the file and ignores anything else. I'll move this to Feature Requests as I agree it would be nice to follow the item descriptors.

Andre

Unlike other players that use the first image saved in the file, Poweramp shows the last one. There have been other posts about this same issue. Ideally if there was a way for PA to rotate through the covers for files that have multiple images, that would be great. If not, I too would prefer that PA uses the first main image. 

Edited by MotleyG

I couldn't remember if it was the first or last image that was used. As PA only handles one image per song, it must be overwriting the first found image with each new one that is scanned from the file, so ending up keeping the last one in the file.

Andre

1 hour ago, andrewilley said:

As PA only handles one image per song, it must be overwriting the first found image with each new one that is scanned from the file, so ending up keeping the last one in the file.

I think this is most likely correct, as the last image is consistently the one PA shows whereas most other players show the first. 

Poweramp selects mp4 image based on image size. Unfortunately, tracks in the wild often have very low quality as first image if multiple images are embedded, this is why this approach as chosen. Also, there is no notion of front, back, or leaflet images for the format (there is no standard on "covr" atom at all) - just a list of images is there which we must interpret one way or another.

Also, this logic was slightly modified to choose first image if it's size is large enough (50kb).

2 hours ago, maxmp said:

Poweramp selects mp4 image based on image size. Unfortunately, tracks in the wild often have very low quality as first image if multiple images are embedded, this is why this approach as chosen. Also, there is no notion of front, back, or leaflet images for the format (there is no standard on "covr" atom at all) - just a list of images is there which we must interpret one way or another.

Also, this logic was slightly modified to choose first image if it's size is large enough (50kb).

But there is logic present for other formats?

Ie, front, back, leaflet, etc.

This cover type is shown when files are inspected with tool like mediainfo.

7 hours ago, maxmp said:

there is no notion of front, back, or leaflet images for the format (there is no standard on "covr" atom at all) - just a list of images is there which we must interpret one way or another.

So then for m4a, and all other formats, is there no plan to support multiple covers in Poweramp at some point? This would avoid the issue of having to choose just one. Just have them transition while playing at a selectable rate, from as often as something like every 15s, to as slow as every 60s. Or turn the rotation off if preferred.

7 hours ago, maxmp said:

Poweramp selects mp4 image based on image size.

Perhaps just by coincidence, but in every case where I have songs with multiple covers it is always the last image added that Poweramp shows. My default is typically to choose art that is truly 1:1 600x600 jpg for standard covers, and some include back covers and liners cropped to the same dimensions. I suppose the amount of picture detail could influence the overall file size, but at least some should show the first cover - yet PA never does for me.

Some tagging programs do seem to allow specifying cover types in M4A files, but I guess like all things that came out of iTunes there is no officially published spec to follow and they've just reverse engineered, it or made it up themselves based on the ID3 spec:

Picture type:
$00  Other
$01  32x32 pixels 'file icon' (PNG only)
$02  Other file icon
$03  Cover (front)
$04  Cover (back)
$05  Leaflet page
$06  Media (e.g. label side of CD)
$07  Lead artist/lead performer/soloist
$08  Artist/performer
$09  Conductor
$0A  Band/Orchestra
$0B  Composer
$0C  Lyricist/text writer
$0D  Recording Location
$0E  During recording
$0F  During performance
$10  Movie/video screen capture
$11  A bright coloured fish
$12  Illustration
$13  Band/artist logotype
$14  Publisher/Studio logotype

$11 always amuses me, it's what you get when you let geeks define underlying technical standards. :)

I do agree that it would be nice to have an option defining how to handle files that contain multiple embedded images though - so the user could set a preference for Front Cover, Back Cover, Artist, Other, Largest Image, or Cycle.

Andre

19 hours ago, maxmp said:

Poweramp selects mp4 image based on image size. Unfortunately, tracks in the wild often have very low quality as first image if multiple images are embedded, this is why this approach as chosen. Also, there is no notion of front, back, or leaflet images for the format (there is no standard on "covr" atom at all) - just a list of images is there which we must interpret one way or another.

Also, this logic was slightly modified to choose first image if it's size is large enough (50kb).

In the sample file I attached, the first art is more than 50 KB so by this logic Poweramp should show first image but it still doesn't pick it for some reason, see the cover sizes below:

Anyways now I know which image Poweramp picks and how it picks, so I can work around by upgrading the cover quality
1. image.png.8045d88854e94cc349f8095fc5492850.png

2.image.png.2fef4e1123c01055f527fd14f1c81a21.png

3. image.png.f8d85b15e16617c6a0e30d329efddcd8.png

 

And you're right it doesn't seem like "leaflet", "illustration" or other options shown by MusicBee are standard, however Front cover is shown correctly as such by mp3tag as well. I shows other covers as "others" though lmao
image.png.bf4a4c1ed8532d43f702036238468a39.pngimage.png.67d0956db1f9194bd73921e1e504bffe.pngimage.png.9b84b49e8ba0f54533a7017b6d0f28c0.png

Edited by HJicub Jiikol
8 hours ago, HJicub Jiikol said:

In the sample file I attached, the first art is more than 50 KB so by this logic Poweramp should show first image but it still doesn't pick it for some reason, see the cover sizes below:

Anyways now I know which image Poweramp picks and how it picks, so I can work around by upgrading the cover quality
1. image.png.8045d88854e94cc349f8095fc5492850.png

2.image.png.2fef4e1123c01055f527fd14f1c81a21.png

3. image.png.f8d85b15e16617c6a0e30d329efddcd8.png

 

And you're right it doesn't seem like "leaflet", "illustration" or other options shown by MusicBee are standard, however Front cover is shown correctly as such by mp3tag as well. I shows other covers as "others" though lmao
image.png.bf4a4c1ed8532d43f702036238468a39.pngimage.png.67d0956db1f9194bd73921e1e504bffe.pngimage.png.9b84b49e8ba0f54533a7017b6d0f28c0.png

If you right click, does setting the cover type "stick" when applied?

11 hours ago, 6b6561 said:

Just curios, could you push the file through https://mediaarea.net/MediaInfoOnline? (Online mediainfo program) And post the image part of the output?

 

MediaInfo.txt

5 hours ago, Fitzian said:

If you right click, does setting the cover type "stick" when applied?

Not sure what you want me to do but yeah, the set cover type does "stick".

I can move the file to a different location and reopen in musicbee and it shows the types that I set, it seems to be stored in the file, not in musicbee database if that's what you're asking.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...