Enums

Details

class MediaArt.Error(value)

Bases: GLib.Enum

Enumeration values used in errors returned by the MediaArt.Error API.

New in version 0.2.0.

NO_STORAGE = 0

Storage information is unknown, we have no knowledge about removable media.

NO_TITLE = 1

Title is required, but was not provided, or was empty.

A call to symlink() failed resulting in the incorrect storage of media art.

RENAME_FAILED = 3

File could not be renamed.

NO_CACHE_DIR = 4

This is given when the XDG_CACHE_HOME directory could not be used to create the ‘media-art’ subdirectory used for caching media art. This is usually an initiation error.

class MediaArt.Type(value)

Bases: GLib.Enum

This type categorized the type of media art we’re dealing with.

NONE = 0

No media art is available

ALBUM = 1

Media art is an album

VIDEO = 2

Media art is a movie or video