RYGEL.CONF(5)
๐ RYGEL.CONF(5) ๐
okay so bestie, welcome to rygel.conf(5), aka the Rygel User Manual โจ this is the file that tells rygel how to be rygel, and we're gonna walk through the whole thing together, no skimming, no skipping ๐ซถ
๐ธ NAME ๐ธ
rygel.conf โ the Rygel configuration file, it's giving config, it's giving setup, it's giving the file ๐
โจ SYNOPSIS โจ
$XDG_CONFIG_DIR/rygel.conf
/etc/rygel.conf
๐ฆ DESCRIPTION ๐ฆ
So here's the vibe: rygel reads all its configuration values out of $XDG_CONFIG_DIR/rygel.conf, or out of whatever file you handed it on the command line with the --config option. And if that file doesn't exist? It just goes and uses /etc/rygel.conf instead. Fallback queen ๐
Most of the options can be overridden by command line arguments or by environment variables โ see rygel(1) for the deets on all of that ๐
๐ GENERAL DIRECTIVES ๐
Two things to internalize before anything else, bestie:
- Lists in the config files are separated by a semicolon (
;). - Boolean values can be either
trueorfalse. That's it. That's the whole menu.
Now the actual options:
ipv6โ set it tofalseto disable binding to IPv6 addresses ๐interface=INTERFACEโ a semicolon-separated list of the network interfaces rygel should listen on. Can be an IP, an interface name, or โ on Linux โ even the ESSID of a wireless network ๐กport=PORTโ sets the listen-port ๐enable-transcodingโ set totrueto enable transcoding in general โจlog-level=DOMAIN:LEVEL[,DOMAIN:LEVEL,...]โ a comma-separated list ofDOMAIN:LEVELpairs so you can set the log level individually for each domain.DOMAINis either*,rygel, or the name of a plugin. Allowed log levels are1=error,2=critical,3=warning,4=message/info,5=debug. Heads up though: on recent versions of GLib (>= 2.36) you have to set the environment variableG_MESSAGES_DEBUGtoallif you want any debug output at all ๐plugin-path=PATHโ sets the plugin search path ๐งengine-path=PATHโ sets the engine search path ๐งmedia-engine=ENGINEโ the name of the loadable module to use as the media engine back-end ๐ฅallow-uploadโ allow uploading of media files via UPnP โฌ๏ธallow-deletionโ allow remote media file deletion via UPnP ๐๏ธvideo-upload-folderโ ifallow-uploadistrue, use this folder to store uploaded videos. It defaults to@VIDEOS@, which expands to the default directory for video files (usually$HOME/Videos) ๐ฌmusic-upload-folderโ ifallow-uploadistrue, use this folder to store uploaded music files. It defaults to@MUSIC@, which expands to the default directory for music files (usually$HOME/Music) ๐ตpicture-upload-folderโ ifallow-uploadistrue, use this folder to store uploaded pictures. It defaults to@PICTURES@, which expands to the default directory for picture files (usually$HOME/Pictures) ๐ผ๏ธforce-downgrade-forโ a semicolon-separated list of device user-agents (or parts of them) which need a forced downgrade toMediaServer:1and/orContentDirectory:1
โ ๏ธ Warning โ only use this parameter if you know what you're doing or somebody is literally telling you to do it. Overriding the default value might cause incompatibilities. And if you find that adding your device here makes it work with Rygel, please file an IOP bug[1] so they can fold it into the default configuration ๐ฅบ
acl-fallback-policyโ this is the default policy used when no access control provider is found on the D-Bus. Usetrueto allow access from every peer,falseto deny all access. If it's not specified, the default fall-back policy istrue๐strict-dlnaโ disabled by default. Usetrueto disable a set of features that improve compatibility with many clients, but break standard conformance ๐
๐๏ธ DATABASE SETTINGS ๐๏ธ
The settings in the [Database] section are for the database support library. Thrilling, I know, but stay with me ๐ซถ
debugโ set totrueto show the SQL statements used ๐
๐ง GSTREAMER MEDIA ENGINE SETTINGS ๐ง
The settings in the [GstMediaEngine] section are specific to the GStreamer media engine โ which is the default media engine, bestie. See the media-engine setting. These following options are available for the GStreamer[2] media engine:
transcodersโ a semicolon-separated list of the active transcoders. This setting has no effect ifenable-transcodingis set tofalse. Possible values are:lpcm,mp3,mp2ts,aac,avcorwmv. Its default value islpcm;mp3;mp2ts;aac;wmv๐ถ
๐งฉ PLUGIN-SPECIFIC SETTINGS ๐งฉ
Sections for plugins are denoted with [PluginName] and can contain options specific to a plugin (see below) as well as these common options:
title=TITLEโ the title of the device implemented by this plugin. There are some variables that rygel will replace for you:@REALNAME@gets substituted by the user's real name,@USERNAME@by the user's login id, and@HOSTNAME@by the name of the machine rygel runs on ๐ท๏ธenabledโ you can individually enable or disable plugins by setting this totrueorfalse๐๏ธenergy-managementโ set totrueif you would like the UPnP device to contain a EnergyManagement service. Note that additional configuration is required, see EnergyManagement settings โกdiagnosticsโ set totrueif you would like the UPnP device to contain aBasicManagement:2service that allows running tools likeping,nslookupandtracerouteremotely ๐server-nameโ a string that will be sent as the"Server:"header in a HTTP response ๐ฎ
โก ENERGYMANAGEMENT SETTINGS โก
The settings in [EnergyManagement-IFACENAME] sections specify the settings that relate to EnergyManagement services on this interface. Example: [EnergyManagement-eth0] ๐
mode-on-suspendโ the NetworkInterfaceMode that should be used when suspended. Default is"Unimplemented", other valid values are"IP-up-Periodic","IP-down-no-Wake","IP-down-with-WakeOn","IP-down-with-WakeAuto","IP-down-with-WakeOnAuto"๐ดsupported-transportโ optional WakeSupportedTransport that the service should advertize. Valid values are"UDP-Broadcast","UDP-Unicast","TCP-Unicast","Other"๐ถpasswordโ optional hexadecimal password that will be used to build the WakeOnPattern ๐
๐ TRACKER PLUGIN ๐
The tracker plugin uses the centralized database of meta information from the tracker project. See the tracker project website[3] for more information about tracker ๐
share-picturesโ enable or disable sharing of all pictures in the Tracker database ๐ผ๏ธshare-videosโ enable or disable sharing of all videos in the Tracker database ๐ฌshare-musicโ enable or disable sharing of all music in the Tracker database ๐ต
๐ MEDIAEXPORT PLUGIN ๐
The MediaExport plugin is an alternative to the tracker-backed media export. It extracts meta-data by itself and stores it in a SQLite[4] database in $XDG_CACHE_DIR/rygel/media-export.db on UNIX platforms ๐๏ธ
๐ Note โ if both plugins, Tracker as well as MediaExport, are enabled, MediaExport will disable itself in favour of the Tracker plugin. It's self-aware like that ๐
There are several options supported by this plugin:
urisโ a list of URIS to expose via UPnP. May be files, folders or anything supported by GVFS. If left empty it defaults to exporting the user's music, video and picture folders as defined per XDG special user directories spec. These default folders can be referenced by@MUSIC@,@PICTURES@and@VIDEOS@. Locations can be entered as either fully escaped URIS or normal paths ๐
๐ Note โ if you enter a normal path that contains whitespace there is no need to escape it with either a backslash or by putting the string in quotes. So chill ๐ซถ
๐ Note โ it is strongly advised against using an exported folder as a target for downloads when extract-metadata is enabled. Rygel will most likely ignore the files then because they will fail to extract ๐ญ
Example 1. Possible values for uris
uris=@MUSIC@;/home/user/My Pictures;file:///home/user/My%20Videos
extract-metadataโ set tofalseif 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 ๐monitor-changesโ set tofalseif you don't want new files to be picked up automatically by rygel ๐monitor-grace-timeoutโ 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 is5seconds โฑ๏ธvirtual-foldersโ set tofalseif you don't need the virtual folder hierarchy ๐
โถ๏ธ PLAYBIN PLUGIN โถ๏ธ
The Playbin plugin implements a media renderer (Digtal Media Renderer, DMR in DLNA terms). This plugin was known as GstRenderer โจ
It is highly recommended to leave the sink choice to playbin. If, however, the default choices don't work for you, they can be reconfigured as follows:
audio-sinkโ definition of the audio sink to use. Can be a single element or a partial pipeline definition in gst-launch's syntax ๐video-sinkโ definition of the video sink to use. Can be a single element or a partial pipeline definition in gst-launch's syntax ๐บ
๐ก LIGHTMEDIASCANNER PLUGIN ๐ก
The LightMediaScanner plugin exports the contents of the lightmediascanner daemon[5] ๐
This plugin does not have any special options. Low maintenance, we love her for that ๐
๐ GSTLAUNCH PLUGIN ๐
The GstLaunch plugin allows you to expose GStreamer pipelines using the same syntax as the gst-launch utilty. You can configure several items in this plugins:
launch-itemsโ a list of of identifiers for the pipelines to be exposed ๐identifier-titleโ title of the device represented by this pipeline. Identifier is the identifier as set inlaunch-items๐ท๏ธidentifier-mimeโ mime-type of the pipeline ๐๏ธidentifier-launchโ definition of the pipeline in gst-launch syntax. For some examples on writing pipelines seegst-launch(1)๐identifier-dlnaprofileโ DLNA profile for the stream ๐
An example configuration is available in the distributed configuration file /etc/rygel.conf ๐
๐ EXTERNAL ๐
The External plugin is an consumer of the MediaServer2 DBus interface specification[6]. 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[7], Rhythmbox[8] and Grilo[9] 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:
[org.gnome.UPnP.MediaServer2.Rhythmbox]
enabled=false
This plugin has no additional options. Short and sweet, periodt ๐
๐ง MPRIS ๐ง
The MPRIS plugin is a lil consumer of the MPRIS2 DBus interface specification[10], and bestie, its implementation is fully conformant to version 2.0 of the standard. No cap. โจ
So here's the vibe: rygel exposes media players that implement the provider side of this DBus specification as DLNA Digital Media Renderers (DMR), basically the same way the Playbin plugin does it. Which means โ and this is the iconic part โ you can turn your own media player into a DMR just by implementing this DBus specification. Main character move, honestly. ๐
Players that implement this spec and are known to work with rygel are Banshee[11], Rhythmbox[8] and GNOME Videos (previously known as Totem)[12]. The squad. ๐ซถ
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, and not in a cute way โ it's per-peer. Plugin config is not done on the plugin itself, but rather per peer that is found providing the MPRIS2 interface. So don't go looking for a normal plugin section, because it's not there. ๐
See the following example to set the title for Banshee on MPRIS:
[org.mpris.MediaPlayer2.banshee]
title=@REALNAME@'s Banshee on @HOSTNAME@
This plugin has no additional options. That's it. That's the whole thing. ๐
๐ SEE ALSO ๐
rygel(1), gst-launch(1)
โ๏ธ AUTHOR โ๏ธ
Jens Georg <mail@jensge.org>
- Wrote this manpage.
๐ NOTES ๐
- file an IOP bug
https://gitlab.gnome.org/GNOME/rygel/issues/new/?issuable_template=IOP - GStreamer
http://gstreamer.freedesktop.org - tracker project website
https://wiki.gnome.org/Projects/Tracker - SQLite
http://sqlite.org - lightmediascanner daemon
https://github.com/profusion/lightmediascanner - MediaServer2 DBus interface specification
https://wiki.gnome.org/Projects/Rygel/MediaServer2Spec - gnome-dvb-daemon
https://wiki.gnome.org/Projects/DVBDaemon - Rhythmbox
http://www.rhythmbox.org - Grilo
https://wiki.gnome.org/Projects/Grilo - MPRIS2 DBus interface specification
https://specifications.freedesktop.org/mpris-spec/latest/ - Banshee
http://banshee.fm - GNOME Videos (previously known as Totem)
https://wiki.gnome.org/Apps/Videos
and that's the whole page, bestie ๐ this rygel manpage came to you from version <pink>05/23/2026</pink> and it lives at RYGEL.CONF(5) โ go forth and slay your DLNA setup, mwah ๐โจ
๐ฆ where this page comes from
- fedora 43: rygel 45.2-1.fc43 ยท LGPL-2.1-or-later AND CC-BY-SA-3.0
- fedora 43: rygel 45.2-1.fc43 ยท LGPL-2.1-or-later AND CC-BY-SA-3.0
- fedora 44: rygel 45.2-1.fc44 ยท LGPL-2.1-or-later AND CC-BY-SA-3.0
- fedora 44: rygel 45.2-1.fc44 ยท LGPL-2.1-or-later AND CC-BY-SA-3.0
- nixos 26.05: rygel 45.2
- nixpkgs unstable: rygel 45.2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms