[gupnp-tools] av-cp: Look for didl-object instead of didl-item
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools] av-cp: Look for didl-object instead of didl-item
- Date: Sun, 10 May 2015 13:54:09 +0000 (UTC)
commit 96ecf37822913a743aa59414c70cfa821baa71e4
Author: Jussi Kukkonen <jku goto fi>
Date: Wed Jul 23 10:30:30 2014 +0300
av-cp: Look for didl-object instead of didl-item
This way it's possible to click "play" e.g. on a directory that exposes a
playlist resource, and get a renderer to play it (assuming the resource
is compatible with the renderer).
https://bugzilla.gnome.org/show_bug.cgi?id=733592
src/av-cp/renderer-controls.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/av-cp/renderer-controls.c b/src/av-cp/renderer-controls.c
index b051afd..8d114a1 100644
--- a/src/av-cp/renderer-controls.c
+++ b/src/av-cp/renderer-controls.c
@@ -239,9 +239,9 @@ set_volume_scale (guint volume)
}
static void
-on_didl_item_available (GUPnPDIDLLiteParser *parser,
- GUPnPDIDLLiteObject *object,
- gpointer user_data)
+on_didl_object_available (GUPnPDIDLLiteParser *parser,
+ GUPnPDIDLLiteObject *object,
+ gpointer user_data)
{
GUPnPDIDLLiteResource **resource;
GUPnPServiceProxy *av_transport;
@@ -280,8 +280,8 @@ find_compat_res_from_metadata (const char *metadata)
error = NULL;
g_signal_connect (parser,
- "item-available",
- G_CALLBACK (on_didl_item_available),
+ "object-available",
+ G_CALLBACK (on_didl_object_available),
&resource);
/* Assumption: metadata only contains a single didl object */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]