- How do I enable debug output?
- Rygel seems unwilling to bind to any interface other than 127.0.0.1, despite -n or interfaces=.
- Rygel keeps changing its UUID on every start
- Rygel does not find any of its plugins
- Rygel is only seen by other devices when started but cannot be found otherwise
- Rygel does not work with my Sony device
- I've added directories in the preferences ui but they are not shared
- When trying to stream I get 404 on client and "(rygel:31790): Rygel-WARNING **: rygel-http-request.vala:100: Not found" on the server
- I have installed tumbler but I still don't get any thumbnails
How do I enable debug output?
Run rygel like this:
$ G_MESSAGES_DEBUG=all rygel -g 5
Instead of -g 5, you can edit the log level in the rygel.conf file, as described in the man page.
Rygel seems unwilling to bind to any interface other than 127.0.0.1, despite -n or interfaces=.
A symptom for this problem is that you can not see the Rygel server on your network. You can confirm that this is an issue by running Rygel with debug output, and look for lines like this:
(rygel:4791): Rygel-DEBUG: rygel-main.vala:137: New network 127.0.0.0 (lo) context available. IP: 127.0.0.1
If you only get the above line, and nothing about eth0 or wlan0 (in addition to lo), or any other interface, this indicates that you are using GUPnP which is compiled with the NetworkManager context manager and NetworkManager is running, but you're not using it for global device configuration but relying on e.g. /etc/network/interfaces. Possible solutions
Switch to NetworkManager.
- Recompile GUPnP with the "unix" context manager. This will drop the automatic detection of interfaces going up and down as well as address changes.
For Rygel >= 0.11.1: Recompile GUPnP with the "linux" context manager.
For Ubuntu 12.04 (precise), you can install the libgupnp package for 12.10 (quantal), which you can find here http://packages.ubuntu.com/quantal/libgupnp-1.0-4. Download the package for your architecture, and install it using dpkg -i.
Rygel keeps changing its UUID on every start
- Make sure that your system time is set correctly and not to a point in the past. Otherwise Rygel will think that its device description templates have been updated and when device descriptions are updated it will start with a fresh UUID. You can verify whether this is the issue or not by issuing
[ $(stat -c %Y /usr/share/rygel/xml/MediaServer3.xml) -gt $(date +%s) ] \ && echo "System time older than template mtime"
Make sure that the home directory of the user running Rygel is on a non-volatile file-system (More specifically, XDG_CONFIG_HOME needs to be on a non-volatile file-system).
Rygel does not find any of its plugins
If you compiled rygel from scratch inside jhbuild or similar environment, make sure you have shared-mime-info installed as well. Otherwise the plugin detection will not work (and the MediaExport plugin will have problems as well)
Rygel is only seen by other devices when started but cannot be found otherwise
In certain environments, MediaExport's meta-data extracting helper binary seems to lock up on start-up. This is related to libmediaart starting volume monitors. There is no solution to this yet. Installing GVFS and having a D-Bus session bus is reported to help on some occations.
Rygel does not work with my Sony device
- Rygel 0.18 and later
- If the video looks completely squeezed, please try to use an unstable version of GStreamer (1.1.x) if possible.
- Rygel 0.16 and earlier:
If you see Rygel-CRITICAL **: rygel_gst_utils_dump_encoding_profile: assertion `profile != NULL' failed you need to install gstreamer-ffmpeg (when using GStreamer 0.10) or gstreamer-libav (when using GStreamer 1.0, Rygel 0.17.1 and later). The latest unstable release will tell you that you're likely missing a GStreamer plug-in. Additionally, Rygel releases 0.16.0-0.16.2 are broken when used with devices that require transcoding (such as most Sonys). Please use 0.16.3 instead. A PPA for Ubuntu 12.04 and 12.10 with 0.16.3 is available here
If you have a north-american Sony device, you're running into bug 686676. This fix was released in Rygel 0.17.6
I've added directories in the preferences ui but they are not shared
- You did not restart Rygel. Some of the changes are currently not picked up automatically. You can force a restart through the ui by ticking/unticking the "Share media through DLNA" checkbox.
You're using the Tracker plug-in. The preferences ui modifies the shared directories of the MediaExport plug-in only. To change the directories indexed by Tracker, you need to use "tracker-preferences".
When trying to stream I get 404 on client and "(rygel:31790): Rygel-WARNING **: rygel-http-request.vala:100: Not found" on the server
The error message is slightly misleading and has been improved in recent releases. What Rygel is trying to tell you here is that you're missing a GStreamer plug-in. If you followed the various Rygel + Pulseaudio + GstLaunch tutorials and are on Ubuntu, it's most likely that you're missing the gstreamer1.0-pulseaudio package.
I have installed tumbler but I still don't get any thumbnails
Unfortunately tumbler and recent GLib seem to disagree on the location of the thumbnail cache. Tumbler uses the old $HOME/.thumbnails while GLib switched to the new $XDG_USER_CACHE/thumbnails. As a work-around, make one a symbolic link of the other.