Hello,
I am trying to optimize the display of albumart images for video and audio items in my android app by picking low resolution images for lists and the highest available resolution for the details display. My algorithm first looks at the albumArtURI property, and if that is not found, goes through the attached resource items to find image resources.
I found with MC that audio items will carry 2 image items in the albumArtURI property, with the lower resolution at position 0 and the higher resolution image at position 1. However, with video items, this is exactly the other way round. There are also resource items referencing the same images, but without carrying any information about resolution and such.
I would really like to save myself the effort of having to download and decode the images to determine the size and resolution. I think this information is already available on the server, and DLNA provides the means of transferring it as well. As a second choice, I could also live with the albumArtURI property, if I could make safe assumptions about the positioning.
Can somebody tell me whether the above is a bug on MC's side, or what would be the best way to deal with this situation?
thanks,
chris