Flags

Details

class Grl.ResolutionFlags(value)

Bases: GObject.GFlags

Resolution flags

NORMAL = 0

Normal mode.

FULL = 1

Try other plugins if necessary.

IDLE_RELAY = 2

Use idle loop to relay results.

FAST_ONLY = 4

Only resolve fast metadata keys.

class Grl.SupportedMedia(value)

Bases: GObject.GFlags

NONE = 0

no media

AUDIO = 1

audio media

VIDEO = 2

video media

IMAGE = 4

image media

ALL = 7

any media

class Grl.SupportedOps(value)

Bases: GObject.GFlags

Bitwise flags which reflect the kind of operations that a Grl.Source supports.

NONE = 0

no operation is supported

RESOLVE = 1

Fetch specific keys of metadata based on other metadata.

REMOVE = 128

Remove content from a service.

STORE = 16

Store content in a service

BROWSE = 2

Retrieve complete sets of Grl.Media

MEDIA_FROM_URI = 256

Create a Grl.Media instance from an URI representing a media resource.

STORE_PARENT = 32

Store content as child of a certian parent category.

SEARCH = 4

Look up for Grl.Media given a search text

NOTIFY_CHANGE = 512

Notify about changes in the Grl.Source.

STORE_METADATA = 64

Update metadata of a Grl.Media in a service.

QUERY = 8

Look up for Grl.Media give a service specific query

class Grl.TypeFilter(value)

Bases: GObject.GFlags

Type of media to allow.

NONE = 0

allow no content (only containers)

AUDIO = 1

allow audio content

VIDEO = 2

allow video content

IMAGE = 4

allow image content

ALL = 7

allow any type of content

class Grl.WriteFlags(value)

Bases: GObject.GFlags

Flags for writing operations.

NORMAL = 0

Normal mode.

FULL = 1

Try other plugins if necessary.