summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-03-22 17:01:22 +0100
committerMark Ryan <mark.d.ryan@intel.com>2013-03-29 14:59:52 +0100
commit3c3babde23b726ea5f6d6a530ebb41baf98bf577 (patch)
treec740bfb71e4b0735d6be6024a2ca170deac96238 /doc
parent2c463dfe990f0b5d5836df2ef04216f53b467679 (diff)
downloaddleyna-server-3c3babde23b726ea5f6d6a530ebb41baf98bf577.tar.gz
[Property] Display Resource property in Container
Fix https://github.com/01org/dleyna-server/issues/5 Add 'Resource' property Add GetCompatibleResource API Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/server/dbus/API.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/server/dbus/API.txt b/doc/server/dbus/API.txt
index fbac2f9..66533d4 100644
--- a/doc/server/dbus/API.txt
+++ b/doc/server/dbus/API.txt
@@ -565,11 +565,14 @@ Additional properties unsupported by org.gnome.MediaContainer2
| | | | deleted from a container object |
| | | | since the last initialization |
|---------------------------------------------------------------------------|
+| Resources |aa{sv}| o | Returns the set of resources |
+| | | | associated with a container |
+|---------------------------------------------------------------------------|
New Methods:
------------
-Seven new methods have been added. These methods are:
+Eight new methods have been added. These methods are:
ListChildrenEx(u Offset, u Max, as Filter, s SortBy) -> aa{sv}
@@ -586,6 +589,8 @@ CreateContainer(s DisplayName, s Type, as ChildTypes) -> o ObjectPath
CreatePlayList(s Title, s Creator, s Genre, s Desc, ao PlaylistItems )
-> (u UploadId, o ObjectPath)
+GetCompatibleResources(s protocol_info, as filter) -> a{sv}
+
The first four methods are identical in function and behaviour to
existing the MediaServer2Spec functions ListChildren, ListItems,
ListContainers, and SearchObjects, with the exception that they take
@@ -664,6 +669,8 @@ container into which the Playlist is to be uploaded whereas
CreatePlaylistInAnyContainer leaves it up to the server to determine the most
suitable location for the file.
+The GetCompatibleResources method: see description in MediaItem2.
+
Recommended Usage:
------------------