summaryrefslogtreecommitdiff
path: root/libdleyna/server/server.c
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-04-08 10:13:14 +0200
committerMark Ryan <mark.d.ryan@intel.com>2013-04-17 14:52:27 +0200
commit92d864599f32c64193f31b12bee371172d7d2af0 (patch)
tree76f934fe884f3b30b7789fb695af4684cf4ad664 /libdleyna/server/server.c
parent3d2a3088a1bb62f6bd432b7551cd9948bccf25bf (diff)
downloaddleyna-server-92d864599f32c64193f31b12bee371172d7d2af0.tar.gz
[Property] Support of DLNA.ORG_CI, DLNA.ORG_FLAGS and DLNA.ORG_OP
Fix https://github.com/01org/dleyna-server/issues/54 Add 3 new properties to Resource. As for other Resources properties, they are also directly available in MediaTiem2 or MediaContainer2 item by using the algorithm for selecting resource, given in the section "Transcoding and org.gnome.UPnP.MediaItem2". Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'libdleyna/server/server.c')
-rw-r--r--libdleyna/server/server.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libdleyna/server/server.c b/libdleyna/server/server.c
index 7a00624..3f290e6 100644
--- a/libdleyna/server/server.c
+++ b/libdleyna/server/server.c
@@ -301,6 +301,12 @@ static const gchar g_server_introspection[] =
" access='read'/>"
" <property type='s' name='"DLS_INTERFACE_PROP_DLNA_PROFILE"'"
" access='read'/>"
+ " <property type='a{sb}' name='"DLS_INTERFACE_PROP_DLNA_CONVERSION"'"
+ " access='read'/>"
+ " <property type='a{sb}' name='"DLS_INTERFACE_PROP_DLNA_OPERATION"'"
+ " access='read'/>"
+ " <property type='a{sb}' name='"DLS_INTERFACE_PROP_DLNA_FLAGS"'"
+ " access='read'/>"
" <property type='x' name='"DLS_INTERFACE_PROP_SIZE"'"
" access='read'/>"
" </interface>"
@@ -329,6 +335,12 @@ static const gchar g_server_introspection[] =
" access='read'/>"
" <property type='s' name='"DLS_INTERFACE_PROP_DLNA_PROFILE"'"
" access='read'/>"
+ " <property type='a{sb}' name='"DLS_INTERFACE_PROP_DLNA_CONVERSION"'"
+ " access='read'/>"
+ " <property type='a{sb}' name='"DLS_INTERFACE_PROP_DLNA_OPERATION"'"
+ " access='read'/>"
+ " <property type='a{sb}' name='"DLS_INTERFACE_PROP_DLNA_FLAGS"'"
+ " access='read'/>"
" <property type='i' name='"DLS_INTERFACE_PROP_TRACK_NUMBER"'"
" access='read'/>"
" <property type='x' name='"DLS_INTERFACE_PROP_SIZE"'"