diff options
author | Christophe Guiraud <christophe.guiraud@intel.com> | 2013-03-21 14:09:13 +0100 |
---|---|---|
committer | Christophe Guiraud <christophe.guiraud@intel.com> | 2013-03-22 14:48:02 +0100 |
commit | ffb46e3ae01bd05cfbd43d2f50fa7743db45b531 (patch) | |
tree | f79915640bac734e14c9a3bcceb1b63c69671c93 /test | |
parent | da8a208c58b3854dd1e880d79c0f1b0e2fb38b24 (diff) | |
download | dleyna-server-ffb46e3ae01bd05cfbd43d2f50fa7743db45b531.tar.gz |
[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 <christophe.guiraud@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/dbus/mediaconsole.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |