this allows us to port to artfiles always too... this way
music-control displays the albumart. music-control is a bit broken in
that it doesnt keep aspect ratio etc. of these. need to fix that over
there.... but... it's coming together.
Summary:
Generally these images are better quality than those
from the Interwebz and local so let's use em!
For now using emotion_object_meta_preview_get()
as Apple stores them in this tag.
emotion_object_meta_image_get() is also available
and I've heard also it is used similarly, but
am yet to find a file that does that.
Reviewers: raster
Differential Revision: https://phab.enlightenment.org/D4555
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
if the track is audio only, it'll look in a cache of albumart, if not,
request the big google in the sky for an image with some search terms
guessed from id3/metadata/filename and then use that. tak'es the first
thing found. not very smart, but pretty damned good most of the time.
these thumbnails are generated in the bg by rage_thumb and will appear
once generated (or already found cached). it'll generate new thumbs if
modified dates are equal or newer on tthe src vs the thumbnail cache.
the caches store 160xN thumbs (keep aspect) with 70% lossy jpeg
quality in an eet file with one thumb per 10 second interval. so it
has limited accuracy.