diff options
author | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-03-27 14:19:22 +0100 |
---|---|---|
committer | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-05-14 15:12:55 +0200 |
commit | 8adb58d6e787482fa57beb1b28f5542270d40781 (patch) | |
tree | b2d02aff4f9df54b4cabf77b2991f49cc22d18f3 /doc | |
parent | a9010e5e993c3eea826d5539de444d8a3585a00f (diff) | |
download | dleyna-server-8adb58d6e787482fa57beb1b28f5542270d40781.tar.gz |
[API] Remove CreatePlaylist/CreatePlaylistInAny API
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/dbus/API.txt | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/doc/server/dbus/API.txt b/doc/server/dbus/API.txt index 920e2dc..7a3b770 100644 --- a/doc/server/dbus/API.txt +++ b/doc/server/dbus/API.txt @@ -249,7 +249,7 @@ is emitted when this property changes. Methods: --------- -The com.intel.dLeynaServer.MediaDevice interface currently exposes seven methods: +The com.intel.dLeynaServer.MediaDevice interface currently exposes six methods: UploadToAnyContainer(s DisplayName, s FilePath) -> (u UploadId, o ObjectPath) @@ -273,20 +273,6 @@ A special value of ['*'] indicates that no restriction is placed on the types of objects that can be stored in the container. The path of the newly created object is returned. -CreatePlayListInAnyContainer(s Title, s Creator, s Genre, s Desc, - ao PlaylistItems ) -> (u UploadId, o ObjectPath) - -Create a new Playlist. The DMS chooses the best place to create this new -container. Title is the name of the Playlist, Creator is the name of the -creator of the Playlist, Genre is the genre of the playlist, Desc is a short -description of the playlist and PlaylistItems is an array of Item path to be -added in the playlist. Creator, Genre and Desc are optional, you can pass -empty strings for these parameters. -The successful completion of this method indicates that the upload has begun, -but has not necessarily finished. There are two return values. The UploadId, -which can be used to monitor the progress of the upload and to -cancel it and ObjectPath, which contains the path of the newly created object. - GetUploadStatus(u UploadId) -> (s UploadStatus, t Length, t Total) GetUploadStatus returns the current status of an upload previously @@ -601,7 +587,7 @@ in Resources/Additional properties. New Methods: ------------ -Eight new methods have been added. These methods are: +Seven new methods have been added. These methods are: ListChildrenEx(u Offset, u Max, as Filter, s SortBy) -> aa{sv} @@ -615,9 +601,6 @@ Upload(s DisplayName, s FilePath) -> (u UploadId, o ObjectPath) 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 @@ -689,15 +672,6 @@ A special value of ['*'] indicates that no restriction is placed on the types of objects that can be stored in the container. The path of the newly created object is returned. -The CreatePlayList method allows the creation of a playlist to -the org.gnome.UPnP.MediaContainer2 object upon which it was executed. -It is identical in function and behavior to -com.intel.dLeynaServer.MediaDevice CreatePlaylistInAnyContainer with the sole -exception that CreatePlayList allows the client to specify the server-side -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: |