Since the problem is reproducible only when rygel-preferences is run for
the first and second time consecutively (no ~/.config/rygel.conf
initially exists), it must be related to the fact that rygel-preferences
cannot find an existing configuration file and hence a default setting
for the sharing option.
I traced down the respective code section for reading the configuration
file. From src/rygel/rygel-meta-config.vala, line 70ff:
public bool get_upnp_enabled () throws GLib.Error {
bool val = true;
bool unavailable = true;
foreach (var config in this.configs) {
try {
val = config.get_upnp_enabled ();
unavailable = false;
break;
} catch (GLib.Error err) {}
}
if (unavailable) {
throw new ConfigurationError.NO_VALUE_SET (_("No value
available"));
}
return val;
}
line 71 looks like it should be set to default to "false" instead to
"true" such that UPNP is disabled by default. I tried that, recompiled
the code but it did not have the desired effect (or I am too
stupid/tired now to use Vala properly ;)). I am pretty sure however that
it must be somewhere around there as what is referred to as "Share media
through DLNA" is what can be toggled by manually setting "upnp-enabled"
in the configuration file ~/.config/rygel.conf and there are functions
to set/get the UPNP enabled state.
I will therefore have to dig further.
Cheers,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org