Closed hadess closed 9 years ago
We had to revert this patch in grilo, thinking that dleyna-server would get fixed quickly enough...
commit 555e1f1a83cc986c83184b811440150371eced4f
Author: Bastien Nocera <hadess@hadess.net>
Date: Wed Jul 16 15:23:31 2014 +0200
dleyna: ChildCount is an int32, not a uint32
As verified inspecting the dleyna-server source code.
https://bugzilla.gnome.org/show_bug.cgi?id=733253
diff --git a/src/dleyna/grl-dleyna-source.c b/src/dleyna/grl-dleyna-source.c
index 10c35c9..1129678 100644
--- a/src/dleyna/grl-dleyna-source.c
+++ b/src/dleyna/grl-dleyna-source.c
@@ -524,7 +524,7 @@ media_set_property (GrlMedia *media,
}
}
else if (g_strcmp0 (key, "ChildCount") == 0) {
- guint32 count = g_variant_get_uint32 (value);
+ gint32 count = g_variant_get_int32 (value);
if (GRL_IS_MEDIA_BOX (media)) {
grl_media_box_set_childcount (GRL_MEDIA_BOX (media), count);
}
It's been broken for nearly 6 months now.
Thanks!