If you want to single out the main front image from the coverartarchive, you can use the "front" field of the json file. Other cover art providers only provide front images so you know for all cases (except images dropped by the user) what the main cover is without iterating over all images all the time.