Rygel configuration file
rygel reads its configuration values from the file $XDG_CONFIG_DIR/rygel.conf or a file given on command line with the --config option. If that file does not exist it uses the file /etc/rygel.conf.
Most of the options may be overriden by commandline arguments or envronment variables. See rygel(1) for details on those.
Lists in the configuration files are separated by a semicolon (;). Boolean values may be either true or false.
Enable/disable UPnP sharing of the media files. If set to false, rygel will still offer HTTP proxy URLs for its media files but not actively advertise them via UPnP.
A list of the network interfaces rygel listens on. May be an IP, an interface name or on Linux even the ESSID of a wireless network.
Set the listen-port.
Set to true to enable transcoding in general.
Comma-separated list of DOMAIN:LEVEL pairs, allowing to set the log level individually for each domain, where DOMAIN is eiher "*", "rygel" or the name of a plugin. Allowed log levels are 1=critical, 2=error, 3=warning, 4=message/info, 5=debug. Note that on recent versions of GLib (>= 2.36) it is required to set the environment variable G_MESSAGES_DEBUG to all to get any debug output.
Set the plugin search path.
Set the engine search path.
Name of the loadable module to use as media engine back-end.
Allow uploading of media files via UPnP.
Allow remote media file deletion via UPnP.
If allow-upload is true, use this folder to store uploaded videos. It defaults to @[email protected] which expands to the default directory for video files (usually $HOME/Videos).
If allow-upload is true, use this folder to store uploaded music files. It defaults to @[email protected] which expands to the default directory for music files (usually $HOME/Music).
If allow-upload is true, use this folder to store uploaded pictures. It defaults to @[email protected] which expands to the default directory for picture files (usually $HOME/Pictures).
Semicolon-separated list of device user-agents (or parts thereof) which need a forced downgrade to MediaServer:1 and/or ContentDirectory:1.
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 \m[blue]file an IOP bug\m\s-2\u\d\s+2 so we can include it into the default configuration.
The settings in the [GstMediaEngine] 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 \m[blue]GStreamer\m\s-2\u\d\s+2 media engine.
A semicolon-separated list of the active transcoders. This setting has no effect if enable-transcoding is set to false. Possible values are: lpcm,mp3,mp2ts,aac,avc or wmv. Its default value is lpcm;mp3;mp2ts;aac;wmv.
Sections for plugins are denoted with [PluginName] and can contain options specific to a plugin (see below) as well these common options:
Title of the device implemented by this plugin. There are some variables which will be replaced by rygel. @[email protected] will be subsituted by the user's real name, @[email protected] by the user's login id and @[email protected] by the name of the machine rygel runs on.
You can individually enable or disable plugins by setting this to true or false.
Set to true if you would like the UPnP device to contain a BasicManagement:2 service that allows running tools like ping, nslookup and traceroute remotely.
The tracker plugin uses the centralized database of meta information from the tracker project. See the \m[blue]tracker project website\m\s-2\u\d\s+2 for more information about tracker.
Enable or disable sharing of all pictures in the Tracker database.
Enable or disable sharing of all videos in the Tracker database.
Enable or disable sharing of all music in the Tracker database.
The MediaExport plugin is an alternative to the tracker-backed media export. It extracts meta-data by itself and stores it in a \m[blue]SQLite\m\s-2\u\d\s+2 database in $XDG_CACHE_DIR/rygel/media-export.db on UNIX platforms.
If both plugins, Tracker as well as MediaExport are enabled, MediaExport will disable itself in favour of the Tracker plugin.
There are several options supported by this plugin:
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 @[email protected], @[email protected] and @[email protected]. Locations can be entered as either fully escaped URIS or normal paths.
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.
Example 1. Possible values for uris
[email protected]@;/home/user/My Pictures;file:///home/user/My%20Videos
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 include-filter, otherwise you will end up with a lot of files exposed which the client cannot display anyway.
Set to false if you don't want to have new files picked up automatically by rygel.
Time in seconds to wait after a new file has been detected before trying to extract meta-data from it. Useful if you're downloading to a directory watched by rygel. Default is 5 seconds.
Set to false if you don't need the virtual folder hierarchy.
The Playbin plugin implements a media renderer (Digtal Media Renderer, DMR in DLNA terms). This plugin was known as GstRenderer.
This plugin has no special options.
The \m[blue]ZDF Mediathek\m\s-2\u\d\s+2 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.
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).
Time in seconds after which the plugin checks for new content. The default interval is 1800 seconds (30 minutes), the minimum interval 10 minutes.
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.
Proxying of general RTSP in rygel 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.
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.
A list of of identifiers for the pipelines to be exposed.
Title of the device represented by this pipeline. Identifier is the identifier as set in launch-items
Mime-type of the pipeline.
Definition of the pipeline in gst-launch syntax. For some examples on writing pipelines see gst-launch(1).
DLNA profile for the stream.
An example configuration is available in the distributed configuration file /etc/rygel.conf.
The External plugin is an consumer of the \m[blue]MediaServer2 DBus interface specification\m\s-2\u\d\s+2. 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 \m[blue]gnome-dvb-daemon\m\s-2\u\d\s+2, \m[blue]Rhythmbox\m\s-2\u\d\s+2 and \m[blue]Grilo\m\s-2\u\d\s+2 via the grilo-ms2 project.
You can disable the whole functionality by setting enabled=false in the [External] section of the configuration file.
Individual peers may be enabled or disabled by creating sections corresponding to the D-Bus names of the peer:
This plugin has no additional options.
The MPRIS plugin is a consumer of the \m[blue]MPRIS2 DBus interface specification\m\s-2\u\d\s+2. The implementation conforms to version 2.0 of the standard.
rygel 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.
Players that implement this spec and are known to work with rygel are \m[blue]Banshee\m\s-2\u\d\s+2, \m[blue]Rhythmbox\m\s-2\u\d\s+2 and \m[blue]Totem\m\s-2\u\d\s+2
You can disable the whole functionality by setting enabled=false in the [MRPIS] section of the configuration file.
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:
[org.mpris.MediaPlayer2.banshee] [email protected]@'s Banshee on @[email protected]
This plugin has no additional options.
rygel(1), README.Mediathek, gst-launch(1)
Jens Georg <[email protected]>
Wrote this manpage.
file an IOP bug
tracker project website
MediaServer2 DBus interface specification
MPRIS2 DBus interface specification