diff options
Diffstat (limited to 'libdleyna/renderer/server.c')
-rw-r--r-- | libdleyna/renderer/server.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libdleyna/renderer/server.c b/libdleyna/renderer/server.c index 425d8f5..ea18689 100644 --- a/libdleyna/renderer/server.c +++ b/libdleyna/renderer/server.c @@ -91,6 +91,7 @@ #define DLR_INTERFACE_STOP "Stop" #define DLR_INTERFACE_OPEN_URI "OpenUri" #define DLR_INTERFACE_OPEN_URI_EX "OpenUriEx" +#define DLR_INTERFACE_OPEN_NEXT_URI "OpenNextUri" #define DLR_INTERFACE_SET_URI "SetUri" #define DLR_INTERFACE_SEEK "Seek" #define DLR_INTERFACE_SET_POSITION "SetPosition" @@ -214,6 +215,12 @@ static const gchar g_server_introspection[] = " <arg type='s' name='"DLR_INTERFACE_METADATA"'" " direction='in'/>" " </method>" + " <method name='"DLR_INTERFACE_OPEN_NEXT_URI"'>" + " <arg type='s' name='"DLR_INTERFACE_URI"'" + " direction='in'/>" + " <arg type='s' name='"DLR_INTERFACE_METADATA"'" + " direction='in'/>" + " </method>" " <method name='"DLR_INTERFACE_SET_URI"'>" " <arg type='s' name='"DLR_INTERFACE_URI"'" " direction='in'/>" @@ -501,6 +508,7 @@ static void prv_process_async_task(dlr_task_t *task) prv_async_task_complete); break; case DLR_TASK_OPEN_URI: + case DLR_TASK_OPEN_NEXT_URI: case DLR_TASK_SET_URI: dlr_upnp_open_uri(g_context.upnp, task, prv_async_task_complete); @@ -793,6 +801,9 @@ static void prv_dlr_player_method_call(dleyna_connector_id_t conn, task = dlr_task_open_uri_new(invocation, object, parameters); else if (!strcmp(method, DLR_INTERFACE_OPEN_URI_EX)) task = dlr_task_open_uri_ex_new(invocation, object, parameters); + else if (!strcmp(method, DLR_INTERFACE_OPEN_NEXT_URI)) + task = dlr_task_open_next_uri_new(invocation, object, + parameters); else if (!strcmp(method, DLR_INTERFACE_SET_URI)) task = dlr_task_set_uri_new(invocation, object, parameters); else if (!strcmp(method, DLR_INTERFACE_SEEK)) |