AlbumArt.AlbumArtLoader
AlbumArt.AlbumArtLoader — Turns an MPRIS art URL into a sized ClutterActor
|
|
Object Hierarchy
Object
╰── AlbumArt.AlbumArtLoader
Description
Handles http(s) URLs, data:image base64 URLs, file:// URLs and plain paths. Remote and inline images are staged in a temporary file which is replaced on the next such request and removed on destroy().
The image is decoded for the highest-scale monitor.
Functions
load ()
load (string url,
number size,
function callback);
A newer call supersedes any pending one, whose result is dropped.