1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- 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" [
7 -''-param man.charmap.use.subset "0" \
8 -''-param make.year.ranges "1" \
9 -''-param make.single.year.ranges "1" \
10 /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
13 A manual page <package>.<section> will be generated. You may view the
14 manual page with: nroff -man <package>.<section> | less'. A typical entry
15 in a Makefile or Makefile.am is:
17 DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
18 XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
20 manpage.1: manpage.xml
23 The xsltproc binary is found in the xsltproc package. The XSL files are in
24 docbook-xsl. A description of the parameters you can use can be found in the
25 docbook-xsl-doc-* packages. Please remember that if you create the nroff
26 version in one of the debian/rules file targets (such as build), you will need
27 to include xsltproc and docbook-xsl in your Build-Depends control field.
28 Alternatively use the xmlto command/package. That will also automatically
29 pull in xsltproc and docbook-xsl.
31 Notes for using docbook2x: docbook2x-man does not automatically create the
32 AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
33 <refsect1> ... </refsect1>.
35 To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
36 read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
37 found in the docbook-xsl-doc-html package.
39 Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
41 General documentation about man-pages and man-page-formatting:
42 man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
46 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
47 <!ENTITY dhfirstname "Jens">
48 <!ENTITY dhsurname "Georg">
49 <!-- dhusername could also be set to "&firstname; &surname;". -->
50 <!ENTITY dhusername "Jens Georg">
51 <!ENTITY dhemail "mail@jensge.org">
52 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
53 allowed: see man(7), man(1) and
54 http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
55 <!ENTITY dhsection "5">
56 <!-- TITLE should be something like "User commands" or similar (see
57 http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
58 <!ENTITY dhtitle "Rygel User Manual">
59 <!ENTITY dhucpackage "rygel.conf">
60 <!ENTITY dhpackage "rygel">
64 <title>&dhtitle;</title>
65 <productname>&dhpackage;</productname>
68 <firstname>&dhfirstname;</firstname>
69 <surname>&dhsurname;</surname>
70 <contrib>Wrote this manpage.</contrib>
72 <email>&dhemail;</email>
78 <refentrytitle>&dhucpackage;</refentrytitle>
79 <manvolnum>&dhsection;</manvolnum>
82 <refname>&dhucpackage;</refname>
83 <refpurpose>Rygel configuration file </refpurpose>
87 <command>$XDG_CONFIG_DIR/rygel.conf</command>
90 <command>/etc/rygel.conf</command>
93 <refsect1 id="description">
94 <title>DESCRIPTION</title>
95 <para><command>&dhpackage;</command> reads its configuration values from
96 the file <filename>$XDG_CONFIG_DIR/rygel.conf</filename> or a file given on command line with the <userinput>--config</userinput> option. If that file does not exist it uses the file
97 <filename>/etc/rygel.conf</filename>.</para>
98 <para>Most of the options may be overriden by commandline arguments or
99 envronment variables. See <citerefentry>
100 <refentrytitle>rygel</refentrytitle>
101 <manvolnum>1</manvolnum>
102 </citerefentry> for details on those.</para>
104 <refsect1 id="options">
105 <title>GENERAL DIRECTIVES</title>
106 <para>Lists in the configuration files are separated by a semicolon
107 (<userinput>;</userinput>). Boolean values may be either
108 <userinput>true</userinput> or <userinput>false</userinput>.</para>
112 <option>upnp-enabled</option>
115 <para>Enable/disable UPnP sharing of the media files. If set to
116 <userinput>false</userinput>, <application>&dhpackage;</application> will
117 still offer HTTP proxy URLs for its media files but not actively
118 advertise them via UPnP.
124 <option>interface=<replaceable>INTERFACE</replaceable></option>
127 <para>A list of the network interfaces <application>&dhpackage;</application> listens on. May be an IP, an interface name or on Linux even the ESSID of a wireless network.</para>
132 <option>port=<replaceable>PORT</replaceable></option>
135 <para>Set the listen-port.</para>
140 <option>enable-transcoding</option>
143 <para>Set to <userinput>true</userinput> to enable transcoding in
150 <option>log-level=<replaceable>DOMAIN</replaceable>:<replaceable>LEVEL</replaceable>[,<replaceable>DOMAIN</replaceable>:<replaceable>LEVEL</replaceable>,…]</option>
153 <para>Comma-separated list of <replaceable>DOMAIN</replaceable>:<replaceable>LEVEL</replaceable> pairs, allowing to set the log level individually for each domain, where <replaceable>DOMAIN</replaceable> is eiher <userinput>"*"</userinput>, "<userinput>rygel</userinput>" or the name of a plugin. Allowed log levels are 1=critical, 2=error, 3=warning, 4=message/info,
155 Note that on recent versions of GLib (>= 2.36) it is required to set the environment variable <envar>G_MESSAGES_DEBUG</envar> to <userinput>all</userinput> to get any debug output.</para>
160 <option>plugin-path=<replaceable>PATH</replaceable></option>
163 <para>Set the plugin search path.</para>
168 <option>engine-path=<replaceable>PATH</replaceable></option>
171 <para>Set the engine search path.</para>
176 <option>media-engine=<replaceable>ENGINE</replaceable></option>
179 <para>Name of the loadable module to use as media engine back-end.</para>
184 <option>allow-upload</option>
187 <para>Allow uploading of media files via UPnP.</para>
192 <option>allow-deletion</option>
195 <para>Allow remote media file deletion via UPnP.</para>
200 <option>video-upload-folder</option>
203 <para>If <option>allow-upload</option> is <userinput>true</userinput>, use this folder to store uploaded videos. It defaults to <userinput>@VIDEOS@</userinput> which expands to the default directory for video files (usually <filename><envar>$HOME</envar>/Videos</filename>).</para>
208 <option>music-upload-folder</option>
211 <para>If <option>allow-upload</option> is <userinput>true</userinput>, use this folder to store uploaded music files. It defaults to <userinput>@MUSIC@</userinput> which expands to the default directory for music files (usually <filename><envar>$HOME</envar>/Music</filename>).</para>
216 <option>picture-upload-folder</option>
219 <para>If <option>allow-upload</option> is <userinput>true</userinput>, use this folder to store uploaded pictures. It defaults to <userinput>@PICTURES@</userinput> which expands to the default directory for picture files (usually <filename><envar>$HOME</envar>/Pictures</filename>).</para>
224 <option>force-downgrade-for</option>
227 <para>Semicolon-separated list of device user-agents (or parts thereof) which need a forced downgrade to <userinput>MediaServer:1</userinput> and/or <userinput>ContentDirectory:1</userinput>.</para>
229 <para>Only use this parameter if you know what your're doing or are being told to do so; overriding the default value might cause incompatibilites. If you find that adding your device here enables its usage with Rygel, please <ulink url="https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP">file an IOP bug</ulink> so we can include it into the default configuration.</para>
236 <title>GStreamer Media Engine settings</title>
237 <para>The settings in the <code>[GstMediaEngine]</code> section are specific to the Gstreamer media engine, which is the default media engine. See the media-engine setting. These following options are available for the <ulink url="http://gstreamer.freedesktop.org">GStreamer</ulink> media engine.</para>
241 <option>transcoders</option>
244 <para>A semicolon-separated list of the active transcoders. This setting has no effect if <option>enable-transcoding</option> is set to <code>false</code>. Possible values are: <code>lpcm,mp3,mp2ts,aac,avc</code> or <code>wmv</code>. Its default value is <code>lpcm;mp3;mp2ts;aac;wmv</code>.</para>
250 <title>Plugin-specific settings</title>
251 <para>Sections for plugins are denoted with <option>[PluginName]</option>
252 and can contain options specific to a plugin (see below) as well these common options:
256 <term><option>title</option>=<replaceable>TITLE</replaceable></term>
258 <para>Title of the device implemented by this plugin. There are some
259 variables which will be replaced by <application>&dhpackage;</application>.
260 <replaceable>@REALNAME@</replaceable> will be subsituted by the
261 user's real name, <replaceable>@USERNAME@</replaceable> by the
262 user's login id and <replaceable>@HOSTNAME@</replaceable> by
263 the name of the machine <application>&dhpackage;</application> runs on.</para>
268 <option>enabled</option>
272 You can individually enable or disable plugins by setting this
273 to <userinput>true</userinput> or <userinput>false</userinput>.
279 <option>diagnostics</option>
283 Set to <userinput>true</userinput> if you would like the UPnP device to contain a BasicManagement:2 service that allows running tools like ping, nslookup and traceroute remotely.
290 <title>Tracker Plugin</title>
291 <para>The tracker plugin uses the centralized database of meta information
292 from the tracker project. See the
293 <ulink url="http://projects.gnome.org/tracker/">tracker project website </ulink> for more information about tracker.
298 <option>share-pictures</option>
302 Enable or disable sharing of all pictures in the Tracker database.
308 <option>share-videos</option>
312 Enable or disable sharing of all videos in the Tracker database.
318 <option>share-music</option>
322 Enable or disable sharing of all music in the Tracker database.
329 <title>MediaExport Plugin</title>
330 <para>The MediaExport plugin is an alternative to the tracker-backed media export.
331 It extracts meta-data by itself and stores it in a <ulink url="http://sqlite.org">SQLite </ulink> database in
332 <filename>$XDG_CACHE_DIR/&dhpackage;/media-export.db</filename>
335 <para>If both plugins, Tracker as well as MediaExport are enabled,
336 MediaExport will disable itself in favour of the Tracker plugin.
339 <para>There are several options supported by this plugin:</para>
343 <option>uris</option>
346 <para>A list of URIS to expose via UPnP. May be files, folders or anything supported by GVFS. If left emtpy it defaults to export the user's music, video and picture folders as defined per XDG special user directories spec. These default folders can be referenced by <userinput>@MUSIC@</userinput>, <userinput>@PICTURES@</userinput> and <userinput>@VIDEOS@</userinput>. Locations can be entered as either fully escaped URIS or normal paths.</para>
348 <para>If you enter a normal path that contains whitespace there is no need to escape them with either a backslash or putting the string in quotes.</para>
351 <title>Possible values for <userinput>uris</userinput></title>
353 <para><userinput>uris=@MUSIC@;/home/user/My Pictures;file:///home/user/My%20Videos</userinput></para>
359 <option>extract-metadata</option>
362 <para>Set to <userinput>false</userinput> 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>
367 <option>monitor-changes</option>
370 <para>Set to <userinput>false</userinput> if you don't want to have new files picked up automatically by &dhpackage;.</para>
375 <option>virtual-folders</option>
378 <para>Set to <userinput>false</userinput> if you don't need the virtual folder hierarchy.</para>
384 <title>Playbin plugin</title>
385 <para>The Playbin plugin implements a media renderer (Digtal Media Renderer, DMR in DLNA terms). This plugin was known as GstRenderer.</para>
386 <para>This plugin has no special options.</para>
389 <title>ZDFMediathek</title>
390 <para>The <ulink url="http://www.zdf.de/ZDFmediathek">ZDF Mediathek</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>
397 <para>A list of broadcast ids. How to get the broadcast ids from the web site is described in the file <filename>README.Mediathek</filename> (in german only).</para>
402 <option>update-interval</option>
405 <para>Time in seconds after which the plugin checks for new content. The default interval is 1800 seconds (30 minutes), the minimum interval 10 minutes.</para>
410 <option>video-format</option>
413 <para>The mediathek usually offers the videos in two formats, WMV and H.264. Possible values here are wmv and mp4. The default video format is wmv.</para>
415 <para>Proxying of general RTSP in <application>&dhpackage;</application> as used by the H.264 streams is currently not working very well. Please enable mp4 only if your renderer can handle RTSP by itself.</para>
422 <title>GstLaunch Plugin</title>
423 <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>
427 <option>launch-items</option>
430 <para>A list of of identifiers for the pipelines to be exposed. </para>
435 <option>identifier-title</option>
438 <para>Title of the device represented by this pipeline. Identifier
439 is the identifier as set in launch-items</para>
444 <option>identifier-mime</option>
447 <para>Mime-type of the pipeline.</para>
452 <option>identifier-launch</option>
455 <para>Definition of the pipeline in gst-launch syntax. For some examples on writing pipelines see <citerefentry>
456 <refentrytitle>gst-launch</refentrytitle>
457 <manvolnum>1</manvolnum>
458 </citerefentry>.</para>
463 <option>identifier-dlnaprofile</option>
466 <para>DLNA profile for the stream.</para>
470 <para>An example configuration is available in the distributed configuration file <filename>/etc/&dhucpackage;</filename>.</para>
473 <title>External</title>
474 <para>The External plugin is an consumer of the <ulink url="http://live.gnome.org/Rygel/MediaServer2Spec">MediaServer2 DBus interface specification</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 <ulink url="http://live.gnome.org/DVBDaemon">gnome-dvb-daemon</ulink>, <ulink url="http://www.rhythmbox.org">Rhythmbox</ulink> and <ulink url="http://live.gnome.org/Grilo">Grilo </ulink> via the grilo-ms2 project.</para>
475 <para>You can disable the whole functionality by setting <userinput>enabled=false</userinput> in the <userinput>[External]</userinput> section of the configuration file.</para>
476 <para>Individual peers may be enabled or disabled by creating sections corresponding to the D-Bus names of the peer:</para>
477 <programlisting>[org.gnome.UPnP.MediaServer2.Rhythmbox]
478 enabled=false</programlisting>
479 <para>This plugin has no additional options.</para>
483 <para>The MPRIS plugin is a consumer of the <ulink url="http://www.mpris.org">MPRIS2 DBus interface specification</ulink>. The implementation conforms to version 2.0 of the standard.
485 <para><application>&dhpackage;</application> exposes media players that implement the provider side of this DBus specification as DLNA Digital Media Renderers (DMR) similar to the Playbin plugin. This means that you can easily turn your media player into a DMR by implementing this DBus specification.</para>
486 <para>Players that implement this spec and are known to work with <application>&dhpackage;</application> are <ulink url="http://banshee.fm">Banshee</ulink>, <ulink url="http://www.rhythmbox.org">Rhythmbox</ulink> and <ulink url="http://live.gnome.org/Totem">Totem</ulink>
488 <para>You can disable the whole functionality by setting <userinput>enabled=false</userinput> in the <userinput>[MRPIS]</userinput> section of the configuration file.</para>
489 <para>The configuration of this plugin is special. Plugin configuration is not done on the plugin but rather per peer that is found providing the MPRIS2 interface. See the following example to set the title for Banshee on MPRIS:</para>
490 <para><programlisting>[org.mpris.MediaPlayer2.banshee]
491 title=@REALNAME@'s Banshee on @HOSTNAME@</programlisting></para>
492 <para>This plugin has no additional options.</para>
494 <refsect1 id="see_also">
495 <title>SEE ALSO</title>
496 <!-- In alpabetical order. --> <para><citerefentry>
497 <refentrytitle>rygel</refentrytitle>
498 <manvolnum>1</manvolnum>
499 </citerefentry>, <filename>README.Mediathek</filename>, <citerefentry>
500 <refentrytitle>gst-launch</refentrytitle>
501 <manvolnum>1</manvolnum>
502 </citerefentry></para>