summaryrefslogtreecommitdiff
path: root/doc/media-api.txt
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-07-26 11:19:44 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-07-26 11:27:27 +0300
commit7a17b557ab5770a64c8e5daa8f90be708819e931 (patch)
treeb21ca4fc1ae5b6f7fdb34b82654ffde899238b78 /doc/media-api.txt
parent188d211c7404662f7791ce03211983c6306d6d3d (diff)
downloadbluez-7a17b557ab5770a64c8e5daa8f90be708819e931.tar.gz
doc/media-api: Add Metadata property to MediaItem
The implementation uses a single property to expose the item metadata not multiple for every single metadata entry.
Diffstat (limited to 'doc/media-api.txt')
-rw-r--r--doc/media-api.txt55
1 files changed, 34 insertions, 21 deletions
diff --git a/doc/media-api.txt b/doc/media-api.txt
index cc3532250..05f90e38c 100644
--- a/doc/media-api.txt
+++ b/doc/media-api.txt
@@ -400,47 +400,60 @@ Properties object Player [readonly]
Available if property Type is "folder"
- string Title [readonly, optional]
+ dict Metadata [readonly]
- Item title name
+ Item metadata.
- Available if property Type is "audio" or "video"
+ Possible values:
+
+ string Title
+
+ Item title name
+
+ Available if property Type is "audio"
+ or "video"
- string Artist [readonly, optional]
+ string Artist
- Item artist name
+ Item artist name
- Available if property Type is "audio" or "video"
+ Available if property Type is "audio"
+ or "video"
- string Album [readonly, optional]
+ string Album
- Item album name
+ Item album name
- Available if property Type is "audio" or "video"
+ Available if property Type is "audio"
+ or "video"
- string Genre [readonly, optional]
+ string Genre
- Item genre name
+ Item genre name
- Available if property Type is "audio" or "video"
+ Available if property Type is "audio"
+ or "video"
- uint32 NumberOfTracks [readonly, optional]
+ uint32 NumberOfTracks
- Item album number of tracks in total
+ Item album number of tracks in total
- Available if property Type is "audio" or "video"
+ Available if property Type is "audio"
+ or "video"
- uint32 Number [readonly, optional]
+ uint32 Number
- Item album number
+ Item album number
- Available if property Type is "audio" or "video"
+ Available if property Type is "audio"
+ or "video"
- uint32 Duration [readonly, optional]
+ uint32 Duration
- Item duration in milliseconds
+ Item duration in milliseconds
- Available if property Type is "audio" or "video"
+ Available if property Type is "audio"
+ or "video"
MediaEndpoint1 hierarchy
========================