RE: rygel-0.4.2 will not start



Thanks for the reply - see below

-----Original Message-----
From: rygel-list-bounces gnome org [mailto:rygel-list-bounces gnome org] On Behalf Of Jens Georg
Sent: Saturday, 17 October, 2009 13:33
To: GNOME UPnP/DLNA services
Subject: Re: rygel-0.4.2 will not start

Am Samstag, den 17.10.2009, 08:09 +0200 schrieb John Frankish:
> Hi,
> 
> I've compiled rygel-0.4.2 without problems, but cannot make it run. A couple of questions:
> 
> 1. Using rygel-preferences, I can update the various conf file settings but "enable upnp/dnla" is not alterable - i.e. I check the box in the gui, but when I open it again it is unchecked. After closing the gui, I get this error:
> 
> ** (rygel-preferences:15495): WARNING **: rygel-user-config.vala:325: Failed to start Rygel service: Error making symbolic link: No such file or directory
> 
> What symbolic link? No such file or directory where?

>From $PREFIX/share/applications/rygel.desktop to
$HOME/.config/autostart/rygel.desktop.

OK "mkdir -p ~/.config/autostart" seems to get rid of that error

> 
> I do not see where to set upnp/dnla to "true" in the conf file.

enabled=true under [general] plus the symlink above

Do you mean this entry?

quote
# General configuration options
[general]
# Set it to 'true' if Rygel should be run as part of user's session.
enabled=true
UnQuote

After creating ~/.config/autostart and editing the entry in /usr/local/etc/rygel.conf as above, upnp/dnla stays checked, so that seems fixed.

> 
> 2. I set the log level to "debug" in the conf file, but no log file is written. Is rygel meant to write a log file? If so, where?

No, currently rygel spills out everything to the console

> 
> 3. starting rygel manually from a terminal window, result in two or three warning messages, but it does not appear to be running.

 - Do you set the level to "debug" or 5? Set to "5" see ~/.config/rygel.conf below
 - Which plug-ins do you have enabled? Whatever was the default, is tracker included or does this need to be compiled separately?
 - What are the warning messages?
Quote
$ rygel
** (rygel:3013): DEBUG: rygel-main.vala:110: new network context lo (127.0.0.1) available.
** (rygel:3013): DEBUG: rygel-main.vala:110: new network context eth0 (163.183.3.38) available.
UnQuote

 - which version of gupnp are you using? libgupnp-0.13.0
 - are you using your distro's package of gupnp? no, compiled from scratch
 - are you using NetworkManager for your devices or do you configure 
   them another way? I'm not using NetworkManager, which devices are you speaking of?

To see if it is running, you need a control-point. There is one in
gupnp-tools (gupnp-av-cp). OK, I guess I need to compile this :)

The right place for help is either this list or #gupnp on
irc.gimp.net :)

_______________________________________________
# Configuration file for Rygel
#
# In most cases, you would want to use the rygel-preferences UI rather than
# editing this file by hand.

# General configuration options
[general]
# Set it to 'true' if Rygel should be run as part of user's session.
enabled=true

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true

# Set it to 'false' if you want to disable MP3 transcoding support.
enable-mp3-transcoder=true

# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true

# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
enable-mp2ts-transcoder=true

# The network interface to attach rygel to. Leave it blank for dynamic
# configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0

# The log level
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
#
log-level=5

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
#          contain the following automatically substituted keywords:
#       * @REALNAME@: The real name of the user as returned by
#                     g_get_real_name() function of glib library.
#       * @USERNAME@: The user name of the user as returned by
#                     g_get_user_name() function of glib library.
#       * @HOSTNAME@: The host name of the machine rygel is running on, as
#                     returned by g_get_host_name() function of glib library.
#

[Tracker]
enabled=true
share-pictures=false
share-videos=false
share-music=true
title=media

[MediaExport]
enabled=true
title=media
# List of URIs to export; if list is empty, the XDG media directries are
# exported.
uris=/mnt/sda1/Music;

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=508

[GstLaunch]
enabled=false
launch_items=audiotestsrc;videotestsrc;videotestoverlay
audiotestsrc_title=Audiotestsrc
audiotestsrc_mime=audio/x-wav
audiotestsrc_launch=audiotestsrc ! wavenc
videotestsrc_title=Videotestsrc
videotestsrc_mime=video/mpeg
videotestsrc_launch=videotestsrc ! ffenc_mpeg2video ! mpegtsmux
videotestoverlay_title=Videotestsrc with timeoverlay 2
videotestoverlay_mime=video/mpeg
videotestoverlay_launch=videotestsrc ! timeoverlay ! ffenc_mpeg2video ! mpegtsmux



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