[DBus (name = "org.gnome.UPnP.MediaObject2")]
public interface Rygel.ExternalMediaObject : DBus.Object {
+ public static const string IFACE = "org.gnome.UPnP.MediaObject2";
public static const string[] PROPERTIES = { "Parent",
"Type",
"Path",
[DBus (name = "org.gnome.UPnP.MediaContainer2")]
public interface Rygel.ExternalMediaContainer : DBus.Object,
ExternalMediaObject {
+ public static const string IFACE = "org.gnome.UPnP.MediaContainer2";
public static const string[] PROPERTIES = { "ChildCount" };
public abstract signal void updated ();
[DBus (name = "org.gnome.UPnP.MediaItem2")]
public interface Rygel.ExternalMediaItem : DBus.Object, ExternalMediaObject {
+ public static const string IFACE = "org.gnome.UPnP.MediaItem2";
public static const string[] PROPERTIES = { "URLs",
"MIMEType",
"DLNAProfile",
* Factory for thumbnail from external plugins.
*/
public class Rygel.ExternalThumbnailFactory {
- private static string ITEM_IFACE = "org.gnome.UPnP.MediaItem1";
-
public async Thumbnail create (string service_name,
string object_path,
string host_ip)
object_path)
as Properties;
- var item_props = yield props.get_all (ITEM_IFACE);
+ var item_props = yield props.get_all (ExternalMediaItem.IFACE);
var thumbnail = new Thumbnail ();