[rygel] [doc] Add manpages for rygel and rygel.conf



commit 883b65b8005a32e2f333e92523afd6dd396d7dc2
Author: Jens Georg <mail jensge org>
Date:   Wed Aug 18 18:39:05 2010 +0300

    [doc] Add manpages for rygel and rygel.conf

 Makefile.am            |    2 +-
 configure.ac           |    5 +
 doc/Makefile.am        |   14 ++
 doc/man/rygel.conf.xml |  335 ++++++++++++++++++++++++++++++++++++++++
 doc/man/rygel.xml      |  396 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 751 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index cd3c054..257de75 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src data tests po
+SUBDIRS = src data tests po doc
 
 pkgconfig_DATA= rygel-1.0.pc
 pkgconfigdir = $(libdir)/pkgconfig
diff --git a/configure.ac b/configure.ac
index 5fe236d..f29e7cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,6 +263,10 @@ AC_SUBST(VALAFLAGS)
 dnl Shave the output
 AM_SILENT_RULES([yes])
 
+dnl documenation
+AC_PATH_PROG([XSLTPROC], [xsltproc])
+AM_CONDITIONAL([HAVE_XSLTPROC], [test x"$XSLTPROC" != x])
+
 AC_OUTPUT([
 Makefile
 src/Makefile
@@ -283,6 +287,7 @@ data/icons/32x32/Makefile
 data/icons/48x48/Makefile
 data/icons/120x120/Makefile
 data/icons/scalable/Makefile
+doc/Makefile
 po/Makefile.in
 rygel-1.0.pc
 tests/Makefile
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..3a5274e
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,14 @@
+dist_man_MANS = \
+		rygel.1 \
+		rygel.conf.5
+
+EXTRA_DIST = \
+		man/rygel.xml \
+		man/rygel.conf.xml
+
+if HAVE_XSLTPROC
+%.5 %.1: man/%.xml
+	$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+CLEANFILES = \
+		$(dist_man_MANS)
+endif
diff --git a/doc/man/rygel.conf.xml b/doc/man/rygel.conf.xml
new file mode 100644
index 0000000..43364d3
--- /dev/null
+++ b/doc/man/rygel.conf.xml
@@ -0,0 +1,335 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- This document was created with Syntext Serna Free. --><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+
+<!--
+
+`xsltproc -''-nonet \
+          -''-param man.charmap.use.subset "0" \
+          -''-param make.year.ranges "1" \
+          -''-param make.single.year.ranges "1" \
+          /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
+          manpage.xml'
+
+A manual page <package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A typical entry
+in a Makefile or Makefile.am is:
+
+DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+
+manpage.1: manpage.xml
+        $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The XSL files are in
+docbook-xsl. A description of the parameters you can use can be found in the
+docbook-xsl-doc-* packages. Please remember that if you create the nroff
+version in one of the debian/rules file targets (such as build), you will need
+to include xsltproc and docbook-xsl in your Build-Depends control field.
+Alternatively use the xmlto command/package. That will also automatically
+pull in xsltproc and docbook-xsl.
+
+Notes for using docbook2x: docbook2x-man does not automatically create the
+AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
+<refsect1> ... </refsect1>.
+
+To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
+read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
+found in the docbook-xsl-doc-html package.
+
+Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
+
+General documentation about man-pages and man-page-formatting:
+man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "Jens">
+  <!ENTITY dhsurname   "Georg">
+  <!-- dhusername could also be set to "&firstname; &surname;". -->
+  <!ENTITY dhusername  "Jens Georg">
+  <!ENTITY dhemail     "mail jensge org">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1) and
+       http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
+  <!ENTITY dhsection   "5">
+  <!-- TITLE should be something like "User commands" or similar (see
+       http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
+  <!ENTITY dhtitle     "Rygel User Manual">
+  <!ENTITY dhucpackage "rygel.conf">
+  <!ENTITY dhpackage   "rygel">
+]>
+<refentry>
+  <refentryinfo>
+    <title>&dhtitle;</title>
+    <productname>&dhpackage;</productname>
+    <authorgroup>
+      <author>
+       <firstname>&dhfirstname;</firstname>
+        <surname>&dhsurname;</surname>
+        <contrib>Wrote this manpage.</contrib>
+        <address>
+          <email>&dhemail;</email>
+        </address>
+      </author>
+    </authorgroup>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>&dhucpackage;</refentrytitle>
+    <manvolnum>&dhsection;</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>&dhucpackage;</refname>
+    <refpurpose>Rygel configuration file </refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>$XDG_CONFIG_DIR/rygel.conf</command>
+    </cmdsynopsis>
+    <cmdsynopsis>
+      <command>/etc/rygel.conf</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1 id="description">
+    <title>DESCRIPTION</title>
+    <para><command>&dhpackage;</command> reads its configuration values from the file <filename>$XDG_CONFIG_DIR/rygel.conf</filename> or - if that file does not exist - from the file <filename>/etc/rygel.conf</filename>.</para>
+    <para>Most of the options may be overriden by commandline arguments or envronment variables. See <citerefentry>
+        <refentrytitle>rygel</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry> for details on those.</para>
+  </refsect1>
+  <refsect1 id="options">
+    <title>GENERAL DIRECTIVES</title>
+    <para>Lists in the configuration files are separated by a semicolon (<userinput>;</userinput>). Boolean values may be either <userinput>true</userinput> or <userinput>false</userinput>.</para>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>interface=<replaceable>INTERFACE</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the network-interface rygel listens on.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>port=<replaceable>PORT</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the listen-port.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>enable-transcoding</option>
+        </term>
+        <listitem>
+          <para>Set to  <varname>true</varname> to enable transcoding in general.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>enable-mp3-transcoder</option>
+        </term>
+        <listitem>
+          <para>Set to <varname>true</varname> to enable transcoding to MP3.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>enable-mp2ts-transcoder</option>
+        </term>
+        <listitem>
+          <para>Set to <varname>true</varname> to enable transcoding to MPEG2 in TS container.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>enable-lpcm-transcoder</option>
+        </term>
+        <listitem>
+          <para>Set to <varname>true</varname> to enable transcoding to Linear PCM.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>enable-wmv-transcoder</option>
+        </term>
+        <listitem>
+          <para>Set to <varname>true</varname> to enable transcoding to WMV.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>log-level<replaceable>=LEVEL</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the log level. 1=critical, 2=error, 3=warning, 4=message/info, 5=debug</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>plugin-path=<replaceable>PATH</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the plugin search path</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    <para>Plugin-specific sections are denoted with <option>[PluginName]</option> and can contain plugin-specific options as well as common options: </para>
+    <variablelist>
+      <varlistentry>
+        <term><option>title</option>=<replaceable>TITLE</replaceable></term>
+        <listitem>
+          <para>Title of the device implemented by this plugin. There are some variables which will be replaced by &dhpackage;. <replaceable>@REALNAME@</replaceable> will be subsituted by the user&apos;s real name, <replaceable>@USERNAME@</replaceable> by the user&apos;s login id and <replaceable>@HOSTNAME@</replaceable> by the name of the machine &dhpackage;runs on.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>enabled</option>
+        </term>
+        <listitem>
+          <para>You can individually enable or disable plugins by setting this to <option>true</option> or <option>false</option>.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>Tracker Plugin</title>
+    <para>The tracker plugin uses the centralized database of meta information from the tracker project. See <ulink url="http://www.tracker-project.org";>http://www.tracker-project.org</ulink> for more information about tracker.</para>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>share-pictures</option>
+        </term>
+        <listitem>
+          <para>Enable or disable sharing of all pictures in the Tracker database.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>share-videos</option>
+        </term>
+        <listitem>
+          <para>Enable or disable sharing of all videos in the Tracker database.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>share-music</option>
+        </term>
+        <listitem>
+          <para>Enable or disable sharing of all music in the Tracker database.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>MediaExport Plugin</title>
+    <para>MediaExport is an alternative to the Tracker-backed media export. MediaExport extracts meta-data by itself and stores it in the SQLite database in <filename>$XDG_CACHE_DIR/rygel/media-export.db</filename> on UNIX platforms.</para>
+    <para>There are several options supported by this plugin:</para>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>uris</option>
+        </term>
+        <listitem>
+          <para>A list of uris to expose via UPnP. May be files, folders or anything supported by gvfs.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>include-filter</option>
+        </term>
+        <listitem>
+          <para>A list of filename extensions. If this option is omitted or empty, every file will be analyzed for meta-data. The extensions are case-insensitive.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>extract-metadata</option>
+        </term>
+        <listitem>
+          <para>Set to false if you do not care about duration or any other meta-data like artist. This speeds up the initial crawl of the media a lot. Use it to quickly share some files via UPnP. Make sure to define an <option>include-filter</option>, otherwise you will end up with a lot of files exposed which the client cannot display anyway.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>Playbin plugin</title>
+    <para>The Playbin plugin implements a media renderer (Digtal Media Renderer, DMR in DLNA terms). This plugin was known as GstRenderer. It has no special options</para>
+  </refsect1>
+  <refsect1>
+    <title>ZDFMediathek</title>
+    <para>The ZDF Mediathek <ulink url="http://www.zdf.de/ZDFmediathek";>http://www.zdf.de/ZDFmediathek</ulink> is an online archive of broadcasts from the second german television. This plugin can be used to subscribes to the RSS feeds of this service and expose the broadcasts via UPnP.</para>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>rss</option>
+        </term>
+        <listitem>
+          <para>A list of broadcast ids. How to get the broadcast ids from the web site is described in the file README.Mediathek (in german only).</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>GstLaunch Plugin</title>
+    <para>The GstLaunch plugin allows to expose GStreamer pipelines using the same syntax as the gst-launch utilty. You can configure several items in this plugins.</para>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>launch-items</option>
+        </term>
+        <listitem>
+          <para>A list of of identifiers for the pipelines to be exposed. </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>identifier-title</option>
+        </term>
+        <listitem>
+          <para>Title of the device represented by this pipeline. Identifier
+              is the identifier as set in launch-items</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>identifier-mime</option>
+        </term>
+        <listitem>
+          <para>Mime-type of the pipeline.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>identifier-launch</option>
+        </term>
+        <listitem>
+          <para>Definition of the pipeline in gst-launch syntax. For examples on the syntax see <citerefentry>
+              <refentrytitle>gst-launch</refentrytitle>
+              <manvolnum>1</manvolnum>
+            </citerefentry>.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    <para>An example configuration is available in the distributed configuration file <filename>/etc/rygel.conf</filename>.</para>
+  </refsect1>
+  <refsect1>
+    <title>External</title>
+    <para>The External plugin is an consumer of the MediaServer2 DBus interface specification as defined at <ulink url="http://live.gnome.org/Rygel/MediaServer2Spec";>http://live.gnome.org/Rygel/MediaServer2Spec</ulink>. This allows external programs to share their data via UPnP by implementing this DBus specification. The plugin picks up any implementation of this interface on the session bus and exposes the presented media via UPnP. Known implementors of this spec are gnome-dvb-daemon (<ulink url="http://live.gnome.org/DVBDaemon";>http://live.gnome.org/DVBDaemon</ulink>) and Grilo (<ulink url="http://live.gnome.org/Grilo";>http://live.gnome.org/Grilo</ulink>) via the grilo-rygel project.</para>
+    <para>This plugin has no additional options.</para>
+  </refsect1>
+  <refsect1 id="see_also">
+    <title>SEE ALSO</title>
+<!-- In alpabetical order. -->    <para><citerefentry>
+        <refentrytitle>rygel</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry>, <citerefentry>
+        <refentrytitle>README.Mediathek, <citerefentry>
+            <refentrytitle>gst-launch</refentrytitle>
+            <manvolnum>1</manvolnum>
+          </citerefentry></refentrytitle>
+      </citerefentry></para>
+  </refsect1>
+</refentry>
diff --git a/doc/man/rygel.xml b/doc/man/rygel.xml
new file mode 100644
index 0000000..dd464e2
--- /dev/null
+++ b/doc/man/rygel.xml
@@ -0,0 +1,396 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- This document was created with Syntext Serna Free. --><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+
+<!--
+
+`xsltproc -''-nonet \
+          -''-param man.charmap.use.subset "0" \
+          -''-param make.year.ranges "1" \
+          -''-param make.single.year.ranges "1" \
+          /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
+          manpage.xml'
+
+A manual page <package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A typical entry
+in a Makefile or Makefile.am is:
+
+DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+
+manpage.1: manpage.xml
+        $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The XSL files are in
+docbook-xsl. A description of the parameters you can use can be found in the
+docbook-xsl-doc-* packages. Please remember that if you create the nroff
+version in one of the debian/rules file targets (such as build), you will need
+to include xsltproc and docbook-xsl in your Build-Depends control field.
+Alternatively use the xmlto command/package. That will also automatically
+pull in xsltproc and docbook-xsl.
+
+Notes for using docbook2x: docbook2x-man does not automatically create the
+AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
+<refsect1> ... </refsect1>.
+
+To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
+read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
+found in the docbook-xsl-doc-html package.
+
+Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
+
+General documentation about man-pages and man-page-formatting:
+man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "Jens">
+  <!ENTITY dhsurname   "Georg">
+  <!-- dhusername could also be set to "&firstname; &surname;". -->
+  <!ENTITY dhusername  "Jens Georg">
+  <!ENTITY dhemail     "mail jensge org">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1) and
+       http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
+  <!ENTITY dhsection   "1">
+  <!-- TITLE should be something like "User commands" or similar (see
+       http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
+  <!ENTITY dhtitle     "Rygel User Manual">
+  <!ENTITY dhucpackage "RYGEL">
+  <!ENTITY dhpackage   "rygel">
+]>
+<refentry>
+  <refentryinfo>
+    <title>&dhtitle;</title>
+    <productname>&dhpackage;</productname>
+    <authorgroup>
+      <author>
+       <firstname>&dhfirstname;</firstname>
+        <surname>&dhsurname;</surname>
+        <contrib>Wrote this manpage.</contrib>
+        <address>
+          <email>&dhemail;</email>
+        </address>
+      </author>
+    </authorgroup>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>&dhucpackage;</refentrytitle>
+    <manvolnum>&dhsection;</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+    <refpurpose>a collection of DLNA/UPnP AV services </refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+<!-- These are several examples, how syntaxes could look -->      <arg choice="opt">
+        <option>options</option>
+      </arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1 id="description">
+    <title>DESCRIPTION</title>
+    <para><command>&dhpackage;</command> is a collection of DLNA (UPnP  AV) services (devices in UPnP speak), implemented through a plug-in mechanism. UPnP in simplest words is a set of protocols that defines how different devices on a home network can seamlessly (without or with minimum configuration) communicate with each other. UPnP AV defines how multimedia systems could be built on top of that. DLNA in simple words is a long list of rules that implementers must comply to if they want to achieve interoperability with other implementations in the market. </para>
+  </refsect1>
+  <refsect1 id="options">
+    <title>OPTIONS</title>
+    <para>The program follows the usual GNU command line syntax,
+      with long options starting with two dashes (`-&apos;).  A summary of
+      options is included below.</para>
+    <variablelist>
+<!-- Use the variablelist.term.separator and the
+           variablelist.term.break.after parameters to
+           control the term elements. -->      <varlistentry>
+        <term>
+          <option>-n</option>
+        </term>
+        <term>
+          <option>--network-interface=<replaceable>INTERFACE</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the network-interface rygel listens on</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-h</option>
+        </term>
+        <term>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--help-all</option>
+        </term>
+        <listitem>
+          <para>Show all help options</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--help-gst</option>
+        </term>
+        <listitem>
+          <para>Show GStreamer related help options</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-p</option>
+        </term>
+        <term>
+          <option>--port=<replaceable>PORT</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the listen-port</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-t</option>
+        </term>
+        <term>
+          <option>--disable-transcoding</option>
+        </term>
+        <listitem>
+          <para>Disable any transcoding</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-m</option>
+        </term>
+        <term>
+          <option>--disable-mp3-transcoder</option>
+        </term>
+        <listitem>
+          <para>Disable transcoding to MP3</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-s</option>
+        </term>
+        <term>
+          <option>--disable-mp2ts-transcoder</option>
+        </term>
+        <listitem>
+          <para>Disable transcoding to MPEG2 in TS container</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-l</option>
+        </term>
+        <term>
+          <option>--disable-lpcm-transcoder</option>
+        </term>
+        <listitem>
+          <para>Disable transcoding to Linear PCM</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--disable-wmv-transcoder</option>
+        </term>
+        <listitem>
+          <para>Disable transcoding to WMV</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-g</option>
+        </term>
+        <term>
+          <option>--log-level<replaceable>=LEVEL</replaceable></option>
+        </term>
+        <listitem>
+          <para>Set the log level. 1=critical, 2=error, 3=warning, 4=message/info, 5=debug</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-u</option>
+        </term>
+        <term>
+          <option>--plugin-path=<option>PATH</option></option>
+        </term>
+        <listitem>
+          <para>Set the plugin search path</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-d</option>
+        </term>
+        <term>
+          <option>--disable-plugin=<replaceable>PLUGIN_NAME</replaceable></option>
+        </term>
+        <listitem>
+          <para>Disable a plugin</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1 id="files">
+    <title>FILES</title>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <filename>/etc/rygel.conf</filename>
+        </term>
+        <listitem>
+          <para>The system-wide configuration file to control the
+            behaviour of <application>&dhpackage;</application>. See
+            <citerefentry>
+              <refentrytitle>rygel.conf</refentrytitle>
+              <manvolnum>5</manvolnum>
+            </citerefentry> for further details.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <filename>${XDG_CONFIG_DIR}/rygel.conf</filename>
+        </term>
+        <listitem>
+          <para>The per-user configuration file to control the
+             behaviour of <application>&dhpackage;</application>. See
+             <citerefentry>
+              <refentrytitle>rygel.conf</refentrytitle>
+              <manvolnum>5</manvolnum>
+            </citerefentry> for further details.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <filename>${XDG_CONFIG_DIR}/Rygel/*.xml</filename>
+        </term>
+        <listitem>
+          <para>Cached UPnP device description files</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1 id="environment">
+    <title>ENVIONMENT</title>
+    <variablelist>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_IFACE</envar>
+        </term>
+        <listitem>
+          <para>Set the network interface to bind to.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_PORT</envar>
+        </term>
+        <listitem>
+          <para>Define the network port to  bind to</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_TRANSCODING</envar>
+        </term>
+        <listitem>
+          <para>Enable or disable transcoding globally</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_MP3_TRANS</envar>
+        </term>
+        <listitem>
+          <para>Enable or disable the MP3 transcoder</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_LPCM_TRANS</envar>
+        </term>
+        <listitem>
+          <para>Enable or disable the Linear PCM transcoder</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_MP2TS_TRANS</envar>
+        </term>
+        <listitem>
+          <para>Enable or disable the MPEG2 in TS transcoder</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_WMV_TRANS</envar>
+        </term>
+        <listitem>
+          <para>Enable or disable transcoding to WMV format</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_LOG</envar>
+        </term>
+        <listitem>
+          <para>Set the log level of <application>&dhpackage;</application></para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <envar>RYGEL_PLUGIN_PATH</envar>
+        </term>
+        <listitem>
+          <para>Set the plugin search path of <application>&dhpackage;</application></para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    <para>Also for every plugin you can set the following environment variables:</para>
+    <para><variablelist>
+        <varlistentry>
+          <term>
+            <envar>RYGEL_PLUGIN_NAME_TITLE</envar>
+          </term>
+          <listitem>
+            <para>Set the title of the plugin</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>
+            <envar>RYGEL_PLUGIN_NAME_ENABLED</envar>
+          </term>
+          <listitem>
+            <para>Enable or disable the plugin</para>
+          </listitem>
+        </varlistentry>
+      </variablelist></para>
+  </refsect1>
+  <refsect1 id="bugs">
+<!-- Or use this section to tell about upstream BTS. -->    <title>BUGS</title>
+    <para>The  <acronym>BTS</acronym> can be found
+      at <ulink url="https://bugzilla.gnome.org/buglist.cgi?product=rygel"/>.</para>
+  </refsect1>
+  <refsect1 id="see_also">
+    <title>SEE ALSO</title>
+<!-- In alpabetical order. -->    <para><citerefentry>
+        <refentrytitle>rygel.conf</refentrytitle>
+        <manvolnum>5</manvolnum>
+      </citerefentry></para>
+  </refsect1>
+</refentry>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]