Metadata
Source
Class
constructor
operation_
id
parent_
class
name
cancel
key_
depends
may_
resolve
resolve
set_
metadata
slow_
keys
supported_
keys
supported_
operations
writable_
keys
GJS API Reference
Grl-0.1
Grl
MetadataSourceClass
Class MetadataSourceClass
Grilo MetadataSource class. Override the vmethods to implement the element functionality.
record
Hierarchy
MetadataSourceClass
Index
Constructors
constructor
Properties
operation_
id
parent_
class
name
Methods
cancel
key_
depends
may_
resolve
resolve
set_
metadata
slow_
keys
supported_
keys
supported_
operations
writable_
keys
Constructors
constructor
new
Metadata
Source
Class
(
)
:
MetadataSourceClass
Returns
MetadataSourceClass
Properties
operation_
id
operation_
id
:
number
parent_
class
parent_
class
:
MediaPluginClass
Static
name
name
:
string
Methods
cancel
cancel
(
source
:
MetadataSource
, operation_id
:
number
)
:
void
Parameters
source:
MetadataSource
operation_id:
number
Returns
void
key_
depends
key_
depends
(
source
:
MetadataSource
, key_id
:
ParamSpec
)
:
ParamSpec
[]
Parameters
source:
MetadataSource
key_id:
ParamSpec
Returns
ParamSpec
[]
may_
resolve
may_
resolve
(
source
:
MetadataSource
, media
:
Grl
.
Media
, key_id
:
object
)
:
[
boolean
,
object
[]
]
Parameters
source:
MetadataSource
media:
Grl
.
Media
key_id:
object
Returns
[
boolean
,
object
[]
]
resolve
resolve
(
source
:
MetadataSource
, rs
:
MetadataSourceResolveSpec
)
:
void
Parameters
source:
MetadataSource
rs:
MetadataSourceResolveSpec
Returns
void
set_
metadata
set_
metadata
(
source
:
MetadataSource
, sms
:
MetadataSourceSetMetadataSpec
)
:
void
Parameters
source:
MetadataSource
sms:
MetadataSourceSetMetadataSpec
Returns
void
slow_
keys
slow_
keys
(
source
:
MetadataSource
)
:
ParamSpec
[]
Parameters
source:
MetadataSource
Returns
ParamSpec
[]
supported_
keys
supported_
keys
(
source
:
MetadataSource
)
:
ParamSpec
[]
Parameters
source:
MetadataSource
Returns
ParamSpec
[]
supported_
operations
supported_
operations
(
source
:
MetadataSource
)
:
Grl
.
SupportedOps
Parameters
source:
MetadataSource
Returns
Grl
.
SupportedOps
writable_
keys
writable_
keys
(
source
:
MetadataSource
)
:
ParamSpec
[]
Parameters
source:
MetadataSource
Returns
ParamSpec
[]
Metadata
Source
Class
constructor
operation_
id
parent_
class
name
cancel
key_
depends
may_
resolve
resolve
set_
metadata
slow_
keys
supported_
keys
supported_
operations
writable_
keys
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHcmxfMF8xLkdybC5NZXRhZGF0YVNvdXJjZUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHcmxfMF8xLkdybC5NZXRhZGF0YVNvdXJjZUNsYXNzLmh0bWwjb3BlcmF0aW9uX2lkIiwibmFtZSI6Im9wZXJhdGlvbl9pZCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdybF8wXzEuR3JsLk1ldGFkYXRhU291cmNlQ2xhc3MuaHRtbCNwYXJlbnRfY2xhc3MiLCJuYW1lIjoicGFyZW50X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYi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