From ffb46e3ae01bd05cfbd43d2f50fa7743db45b531 Mon Sep 17 00:00:00 2001 From: Christophe Guiraud Date: Thu, 21 Mar 2013 14:09:13 +0100 Subject: [API] Add new GetMetaData Media Object API - Add a new method GetMetaData to the org.gnome.UPnP.MediaObject2 interface to allow the retrieval of the Meta data information of an object in DIDL-Lite XML format. - MediaConsole python test app updated. - Doc updated. - Fix issue https://github.com/01org/dleyna-server/issues/25 Signed-off-by: Christophe Guiraud --- test/dbus/mediaconsole.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/dbus/mediaconsole.py b/test/dbus/mediaconsole.py index b0a0057..2dc552e 100644 --- a/test/dbus/mediaconsole.py +++ b/test/dbus/mediaconsole.py @@ -64,6 +64,9 @@ class MediaObject(object): def update(self, to_add_update, to_delete): return self.__objIF.Update(to_add_update, to_delete) + def get_metadata(self): + return self.__objIF.GetMetaData() + class Item(MediaObject): def __init__(self, path): MediaObject.__init__(self, path) -- cgit v1.2.1