- public bool buffer_to_jpeg (uint8 buffer, ulong len, string buffer_mime, string target) throws Error
This function performs the same operation as
file_to_jpeg with the exception that a raw buffer
can
be used instead providing len
and the buffer_mime
too.
- public bool file_to_jpeg (string filename, string target) throws Error
Save filename
to target
as JPEG format.
- public bool get_file (string? artist, string? title, string? prefix, File? file, out File cache_file, out File local_file)
Gets the files pointing to cache files suitable for storing the media art
provided by the artist
, title
and file
arguments.
- public bool get_path (string? artist, string? title, string? prefix, string? uri, out string cache_path, out string local_uri)
- public void plugin_init (int max_width)
This function facilitates a plugin's need to create any internal
caches before anything else is done.
- public void plugin_shutdown ()
This function facilitates a plugin's need to clean up any internal
caches.
- public bool remove (string artist, string? album)
Removes media art for given album/artist provided.
- public string strip_invalid_entities (string original)
Strip a albumname or artistname string to prepare it for calculating the
media art path with it.