summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-03-20 16:38:53 +0100
committerMark Ryan <mark.d.ryan@intel.com>2013-05-16 11:58:53 +0200
commitd5ce99e734b9ad5ecf3f155be2bb72178870bd74 (patch)
tree516be6c8691e09b04aa06468caaa6965178b1e94 /test
parent8adb58d6e787482fa57beb1b28f5542270d40781 (diff)
downloaddleyna-server-d5ce99e734b9ad5ecf3f155be2bb72178870bd74.tar.gz
[API] Add CreateReference method to org.gnome.MediaContainer2
Fix https://github.com/01org/dleyna-server/issues/7 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/dbus/mediaconsole.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dbus/mediaconsole.py b/test/dbus/mediaconsole.py
index d5dfe39..f75a556 100644
--- a/test/dbus/mediaconsole.py
+++ b/test/dbus/mediaconsole.py
@@ -139,10 +139,12 @@ class Container(MediaObject):
path = self._containerIF.CreateContainer(name, type, child_types)
print u"New container path: " + path
-
def print_compatible_resource(self, protocol_info, fltr):
print_properties(self._containerIF.GetCompatibleResource(protocol_info,
fltr))
+ def create_reference(self, file_path):
+ path = self._containerIF.CreateReference(file_path)
+ print u"Reference Path: " + path
class Device(Container):