get_path


Description:


[ Version ( since = "0.2.0" ) ]
public bool get_path (string? artist, string? title, string? prefix, out string cache_path)

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 must be freed with g_free.

All string inputs must be valid UTF8. Use validate if the input has not already been validated.

Parameters:

artist

the artist

title

the title

prefix

the prefix, for example "album"

cache_path

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

Returns:

true if cache_path was returned, otherwise false.


Namespace: MediaArt
Package: libmediaart-2.0