'upnp_enabled' in the configuration now really means what it says:
Enable/Disable the UPnP devices. So its now set to 'true' by default and
if you set this to 'false', you can still stream media (currently only over
HTTP) from it. Of course, that means you need to know the URI of the item.
# General configuration options
[general]
-# Set it to 'true' if Rygel should be run as part of user's session.
-enabled=false
+# Set it to 'false' if you want to only use the streaming part of Rygel and/or
+# don't want it to advertize itself on the UPnP network. If you want to
+# completely disable rygel, just don't run it then. :)
+enabled=true
# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true
# General configuration options
[general]
-# Set it to 'true' if Rygel should be run as part of user's session.
-enabled=false
+# Set it to 'false' if you want to only use the streaming part of Rygel and/or
+# don't want it to advertize itself on the UPnP network. If you want to
+# completely disable rygel, just don't run it then. :)
+enabled=true
# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true
try {
var device = factory.create (plugin);
- device.available = plugin.active;
+ device.available = plugin.active &&
+ this.config.get_upnp_enabled ();
this.root_devices.add (device);