core,data,doc: Rename upnp_enabled → upnp-enabled
authorJens Georg <mail@jensge.org>
Sat, 5 Feb 2011 20:35:55 +0000 (21:35 +0100)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Tue, 8 Feb 2011 13:48:27 +0000 (15:48 +0200)
Provide consistency with all the other configuration options. Also add
documentation for the option to the rygel.conf manpage.

data/rygel.conf
doc/man/rygel.conf.xml
src/rygel/rygel-user-config.vala

index 088fd16..77ae571 100644 (file)
@@ -8,7 +8,7 @@
 # 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. :)
-upnp_enabled=true
+upnp-enabled=true
 
 # Set it to 'false' if you want to disable transcoding support.
 enable-transcoding=true
index a5c069e..3057c30 100644 (file)
@@ -104,6 +104,14 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
     <variablelist>
       <varlistentry>
         <term>
+          <option>upnp-enabled</option>
+        </term>
+        <listitem>
+            <para>Enable/disable UPnP sharing of the media files. If set to <varname>false</varname>, <command>&dhpackage;</command> will still offer HTTP proxy URLs for its media files but not actively advertise them via UPnP.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
           <option>interface=<replaceable>INTERFACE</replaceable></option>
         </term>
         <listitem>
index 2e30042..7ee7679 100644 (file)
@@ -31,7 +31,7 @@ public class Rygel.UserConfig : GLib.Object, Configuration {
     public static const string CONFIG_FILE = "rygel.conf";
     public static const string IFACE_KEY = "interface";
     public static const string PORT_KEY = "port";
-    public static const string ENABLED_KEY = "upnp_enabled";
+    public static const string ENABLED_KEY = "upnp-enabled";
     public static const string TITLE_KEY = "title";
     public static const string TRANSCODING_KEY = "enable-transcoding";
     public static const string MP3_TRANSCODER_KEY = "enable-mp3-transcoder";