get_path


Description:


public bool get_path (string? artist, string? title, string? prefix, string? uri, out string cache_path, out string local_uri)

This function calls get_file by creating a File for uri and passing the same arguments to get_file.

For more details about what this function does, see get_file.

Get the path to media art for a given resource. Newly allocated data returned in cache_path and local_uri must be freed with g_free.

Parameters:

artist

the artist

title

the title

prefix

the prefix, for example "album"

uri

the uri of the file or null

cache_path

a string representing the path to the cache for this media art path or null

local_uri

a string representing the URI to the local media art or null

Returns:

true if cache_path or local_uri were returned, otherwise false.


Namespace: MediaArt
Package: libmediaart-1.0