From 7a17b557ab5770a64c8e5daa8f90be708819e931 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 26 Jul 2013 11:19:44 +0300 Subject: [PATCH] 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. --- doc/media-api.txt | 55 +++++++++++++++++++++++++++++------------------ 1 file 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 ======================== -- 2.47.3