}
}
- public override MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public override MediaContainer? get_root_container (GUPnP.Context context) {
return new Container ("0",
this.title,
this.child_count,
this.searchable,
this.service_name,
this.root_object,
- content_dir.context.host_ip,
+ context.host_ip,
null);
}
}
base ("GstLaunch", "Gst Launch");
}
- public override MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public override MediaContainer? get_root_container (GUPnP.Context context) {
return new RootContainer (this.title);
}
}
base ("MediaExport", _("@REALNAME@'s media"));
}
- public override MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public override MediaContainer? get_root_container (GUPnP.Context context) {
return RootContainer.get_instance ();
}
}
base ("ZDFMediathek", "ZDF Mediathek");
}
- public override MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public override MediaContainer? get_root_container (GUPnP.Context context) {
return RootContainer.get_instance ();
}
}
base ("Test", "Test Streams");
}
- public override MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public override MediaContainer? get_root_container (GUPnP.Context context) {
return new RootContainer (this.title);
}
}
}
}
- public override MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public override MediaContainer? get_root_container (GUPnP.Context context) {
return new RootContainer (this.title);
}
}
var plugin = this.root_device.resource_factory as MediaServerPlugin;
- this.root_container = plugin.get_root_container (this);
+ this.root_container = plugin.get_root_container (this.context);
try {
this.http_server = new HTTPServer (this, plugin.name);
this.add_resource (resource_info);
}
- public virtual MediaContainer? get_root_container (
- ContentDirectory content_dir) {
+ public virtual MediaContainer? get_root_container (GUPnP.Context context) {
return null;
}
}