summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-09-22 12:25:05 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-09-22 12:37:30 +0300
commita9af8546072199d52810c66ca67f7d825b6d5124 (patch)
treed7960a3a969d99d5cae1d4c8aa2fc6337105fdfa /test
parenta627729717df3ba3ef36d4a6a6703ee007dceb07 (diff)
downloadbluez-a9af8546072199d52810c66ca67f7d825b6d5124.tar.gz
test/simple-player: Fix parameter types
Diffstat (limited to 'test')
-rwxr-xr-xtest/simple-player6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/simple-player b/test/simple-player
index 23e78add9..a8ae0b1cd 100755
--- a/test/simple-player
+++ b/test/simple-player
@@ -34,9 +34,9 @@ class Player(dbus.service.Object):
else:
track = dbus.Dictionary({
"xesam:title" : "Title",
- "xesam:artist" : "Artist",
+ "xesam:artist" : ["Artist"],
"xesam:album" : "Album",
- "xesam:genre" : "Genre",
+ "xesam:genre" : ["Genre"],
"xesam:trackNumber" : dbus.Int32(1),
"mpris:length" : dbus.Int64(10000) },
signature="sv")
@@ -48,7 +48,7 @@ class Player(dbus.service.Object):
"Shuffle" : dbus.Boolean(False),
"Metadata" : track,
"Volume" : dbus.Double(1.0),
- "Position" : dbus.UInt32(0),
+ "Position" : dbus.Int64(0),
"MinimumRate" : dbus.Double(1.0),
"MaximumRate" : dbus.Double(1.0),
"CanGoNext" : dbus.Boolean(False),