Enums

Details

class Grl.CoreError(value)

Bases: GLib.Enum

These constants identify all the available core errors

BROWSE_FAILED = 1

The browse operation failed

MEDIA_FROM_URI_FAILED = 10

The media from_uri operation failed

CONFIG_LOAD_FAILED = 11

Failed to load plugin configuration from a file

CONFIG_FAILED = 12

Failed to set configuration for plugin

UNREGISTER_SOURCE_FAILED = 13

Failed to unregister source

LOAD_PLUGIN_FAILED = 14

Failed to load plugin

UNLOAD_PLUGIN_FAILED = 15

Failed to unload plugin

REGISTER_METADATA_KEY_FAILED = 16

Failed to register metadata key

NOTIFY_CHANGED_FAILED = 17

Failed to start changed notifications

OPERATION_CANCELLED = 18

The operation was cancelled

AUTHENTICATION_TOKEN = 19

Invalid authentication token

SEARCH_FAILED = 2

The search operation failed

SEARCH_NULL_UNSUPPORTED = 3

Searching None-text is not supported

QUERY_FAILED = 4

The query operation failed

RESOLVE_FAILED = 5

The resolution operation failed

MEDIA_NOT_FOUND = 6

The media was not found

STORE_FAILED = 7

The store operation failed

STORE_METADATA_FAILED = 8

The store metadata operation failed

REMOVE_FAILED = 9

The removal operation failed

class Grl.LogLevel(value)

Bases: GLib.Enum

Grilo log levels. Defines the level of verbosity selected in Grilo.

NONE = 0

Log level none

ERROR = 1

Log on error

WARNING = 2

Log on warning

MESSAGE = 3

Log on message

INFO = 4

Log on info

DEBUG = 5

Log on debug

LAST = 6

Last level of log

class Grl.MediaSerializeType(value)

Bases: GObject.GEnum

Grl.Media serialize type

New in version 0.2.3.

BASIC = 0

Basic mode

PARTIAL = 1

Partial mode

FULL = 2

Full mode

class Grl.MediaType(value)

Bases: GObject.GEnum

UNKNOWN = 0

unknown media

AUDIO = 1

audio media

VIDEO = 2

video media

IMAGE = 3

image media

CONTAINER = 4

container media

class Grl.Rank(value)

Bases: GLib.Enum

Source priority ranks. Defines the order in which the resolver (or similar rank-picking mechanisms) will choose this source over an alternative one with the same function.

These constants serve as a rough guidance for defining the rank of a Grl.Source. Any value is valid, including values bigger than Grl.Rank.HIGHEST.

LOW = -32

unlikely to be chosen

LOWEST = -64

will be chosen last or not at all

DEFAULT = 0

likely to be chosen

HIGH = 32

will be chosen

HIGHEST = 64

will be chosen first

class Grl.SourceChangeType(value)

Bases: GObject.GEnum

Specifies which kind of change has happened in the plugin

CHANGED = 0

content has changed. It is used when any property of Grl.Media has changed, or in case of containers, if several children have been added and removed.

ADDED = 1

new content has been added.

REMOVED = 2

content has been removed