Media
Engine
Class
constructor
name
create_
data_
source_
for_
resource
create_
data_
source_
for_
uri
get_
dlna_
profiles
get_
internal_
protocol_
schemes
get_
resources_
for_
item
get_
resources_
for_
item_
finish
GJS API Reference
RygelServer-2.6
RygelServer
MediaEngineClass
Class MediaEngineClass
Hierarchy
MediaEngineClass
Index
Constructors
constructor
Properties
name
Methods
create_
data_
source_
for_
resource
create_
data_
source_
for_
uri
get_
dlna_
profiles
get_
internal_
protocol_
schemes
get_
resources_
for_
item
get_
resources_
for_
item_
finish
Constructors
constructor
new
Media
Engine
Class
(
)
:
MediaEngineClass
Returns
MediaEngineClass
Properties
Static
name
name
:
string
Methods
create_
data_
source_
for_
resource
create_
data_
source_
for_
resource
(
self
:
MediaEngine
, item
:
MediaObject
, resource
:
MediaResource
, replacements
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
RygelServer
.
DataSource
Parameters
self:
MediaEngine
item:
MediaObject
resource:
MediaResource
replacements:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
RygelServer
.
DataSource
create_
data_
source_
for_
uri
create_
data_
source_
for_
uri
(
self
:
MediaEngine
, uri
:
string
)
:
RygelServer
.
DataSource
Parameters
self:
MediaEngine
uri:
string
Returns
RygelServer
.
DataSource
get_
dlna_
profiles
get_
dlna_
profiles
(
self
:
MediaEngine
)
:
DLNAProfile
[]
Parameters
self:
MediaEngine
Returns
DLNAProfile
[]
get_
internal_
protocol_
schemes
get_
internal_
protocol_
schemes
(
self
:
MediaEngine
)
:
string
[]
Parameters
self:
MediaEngine
Returns
string
[]
get_
resources_
for_
item
get_
resources_
for_
item
(
self
:
MediaEngine
, item
:
MediaObject
, _callback_
:
AsyncReadyCallback
)
:
void
Parameters
self:
MediaEngine
item:
MediaObject
_callback_:
AsyncReadyCallback
Returns
void
get_
resources_
for_
item_
finish
get_
resources_
for_
item_
finish
(
self
:
MediaEngine
, _res_
:
AsyncResult
)
:
Gee
.
List
Parameters
self:
MediaEngine
_res_:
AsyncResult
Returns
Gee
.
List
Media
Engine
Class
constructor
name
create_
data_
source_
for_
resource
create_
data_
source_
for_
uri
get_
dlna_
profiles
get_
internal_
protocol_
schemes
get_
resources_
for_
item
get_
resources_
for_
item_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuTWVkaWFFbmdpbmVDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuTWVkaWFFbmdpbmVDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuTWVkaWFFbmdpbmVDbGFzcy5odG1sI2NyZWF0ZV9kYXRhX3NvdXJjZV9mb3JfcmVzb3VyY2UiLCJuYW1lIjoiY3JlYXRlX2RhdGFfc291cmNlX2Zvcl9yZXNvdXJjZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wY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