Petri Gynther
7adf8d09b4
test: Python import cleanup
...
Some test scripts use "from gi.repository import GObject" whereas others
use "import gobject". gi.repository is not always available on embedded
systems, so convert all instances to this format:
try:
from gi.repository import GObject
except ImportError:
import gobject as GObject
Also, sort the imports in this order: system, dbus, gobject, bluezutils
2014-01-18 00:38:39 -08:00
Luiz Augusto von Dentz
7b57d92c6b
test: Update test-player to register using MPRIS interface
2013-01-10 16:36:02 +02:00
Luiz Augusto von Dentz
8a6a963d3e
test: Adapt simple-player to the new API of MediaPlayer1
2013-01-10 16:36:01 +02:00
Vinicius Costa Gomes
375e766245
audio: Fix interface names
...
In some places, the old names of the interfaces were still being used.
So we update them to use the new names.
2012-12-06 12:23:25 +02:00
Mikel Astiz
90e7850d95
test: Avoid using DefaultAdapter()
...
Call the utility library -which uses ObjectManager API- to avoid using
Manager.FindAdapter() and Manager.DefaultAdapter().
2012-12-05 16:39:34 +02:00
Luiz Augusto von Dentz
8ee5727781
test: Convert simple-player to use DBus properties interface
2012-11-30 10:31:01 +02:00
Luiz Augusto von Dentz
43f865a8be
test: Add support for using external player
...
This add support for passing a device player object which is then
registered as a local one in a loopback fashion.
2012-10-31 10:38:47 +02:00
Luiz Augusto von Dentz
135e87f58f
test: Fix using Number instead of Track in simple-player
2012-10-31 10:38:42 +02:00
Vinicius Costa Gomes
97bbdeee7f
Fix simple-player test script to make it work with dbus-python-0.84
2011-11-14 12:56:28 +02:00
Luiz Augusto von Dentz
4f89d2634b
Add support for MediaPlayer.Release to simple-player
2011-10-28 15:15:53 +03:00
Lucas De Marchi
3ab3eab5b9
Improve test/simple-player to allow user interaction
...
Allow user to trigger TrackChanged and PropertyChanged. Calls made by
remote side (coming from D-Bus) are printed to stderr while the ones to
interact with user go to stdout.
2011-10-13 13:11:10 +03:00
Luiz Augusto von Dentz
6e215f1f86
Add simple-player test script
2011-10-06 11:13:33 +03:00