summaryrefslogtreecommitdiff
path: root/libdleyna/renderer/device.c
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-07-18 11:55:46 +0200
committerRegis Merlino <regis.merlino@intel.com>2013-07-18 12:58:07 +0200
commitc8ffb0e53ef364951fb552fddfe7adbfa59e585c (patch)
tree45d8f702bbf641e7b432a48025eac5a41be4652e /libdleyna/renderer/device.c
parent11b34ca222a44f202eb411bd78f8a506e5dcdf1d (diff)
downloaddleyna-renderer-c8ffb0e53ef364951fb552fddfe7adbfa59e585c.tar.gz
[API] Issue #94: Add new SetUri API to Player
Fix issue #94: <https://github.com/01org/dleyna-renderer/issues/94> Do the same as OpenUriEx, except it doesn't excecute the Play command. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'libdleyna/renderer/device.c')
-rw-r--r--libdleyna/renderer/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdleyna/renderer/device.c b/libdleyna/renderer/device.c
index 675f3f8..63c1060 100644
--- a/libdleyna/renderer/device.c
+++ b/libdleyna/renderer/device.c
@@ -2518,6 +2518,9 @@ static void prv_open_uri_cb(GUPnPServiceProxy *proxy,
prv_reset_transport_speed_props(cb_data->device);
+ DLEYNA_LOG_DEBUG("Task: %s", (cb_data->task.type == DLR_TASK_OPEN_URI)
+ ? "OPEN URI" : "SET URI");
+
if (cb_data->task.type == DLR_TASK_OPEN_URI) {
cb_data->action =
gupnp_service_proxy_begin_action(