Commit Graph

55 Commits

Author SHA1 Message Date
Stein Magnus Jodal
e3ba389996 Make MPRIS frontend handle unknown volume 2012-09-08 01:24:48 +02:00
Thomas Adamcik
14eeb20226 Update MPRIS to use playback.volume API. 2012-09-04 00:30:02 +02:00
Stein Magnus Jodal
f1ba8af0de Ignore MPRIS tests on OS X 2012-02-08 13:24:28 +01:00
Thomas Adamcik
1985b4af76 Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise 2011-07-31 22:21:34 +02:00
Stein Magnus Jodal
ae4cd6a7de Extract .desktop file path to new setting DESKTOP_FILE 2011-07-29 22:35:46 +02:00
Stein Magnus Jodal
d14dbc5587 Split MPRIS frontend into multiple files. Fix some pylint warnings. 2011-07-28 01:03:51 +02:00
Stein Magnus Jodal
3c1ba51580 Add util method for emitting PropertiesChanged 2011-07-28 00:34:44 +02:00
Stein Magnus Jodal
2ad54204ee Emit mpris.Seeked signal on seek 2011-07-27 01:23:39 +02:00
Stein Magnus Jodal
3c2a944e8a Emit signal on volume change 2011-07-27 01:01:34 +02:00
Stein Magnus Jodal
1399bb61dc Update listener method names to match interface 2011-07-27 00:49:18 +02:00
Stein Magnus Jodal
8a49b1f325 Update MPRIS' Metadata on started_playing/stopped_playing 2011-06-29 18:10:27 +03:00
Stein Magnus Jodal
2812e7ad45 Update MPRIS' PlaybackStatus on play/stop/pause/resume 2011-06-29 17:53:23 +03:00
Stein Magnus Jodal
93f00ce7f2 Add check of URI schema to OpenUri 2011-06-22 00:28:51 +03:00
Stein Magnus Jodal
e5725bb26b Update SetPosition to support real track IDs instead of URIs 2011-06-22 00:18:08 +03:00
Stein Magnus Jodal
190faf745a 'shuffle' should be 'random' in our backend 2011-06-22 00:04:03 +03:00
Stein Magnus Jodal
3259a11c8d Test and implement mpris.Metadata property 2011-06-22 00:04:03 +03:00
Stein Magnus Jodal
90ce8b21bc Test and implement mpris.SupportedUriSchemes property 2011-06-22 00:04:02 +03:00
Stein Magnus Jodal
7faed379ef Check if CanPlay==true in OpenUri for consistency (even though the spec doesn't mention it) 2011-06-22 00:04:02 +03:00
Stein Magnus Jodal
26868401c6 Check if CanControl==true in set_Rate for consistency (even though the spec doesn't mention it) 2011-06-22 00:04:02 +03:00
Stein Magnus Jodal
182f074222 Use new exit_process() function in mpris.Quit() 2011-06-20 19:47:16 +03:00
Stein Magnus Jodal
26b7f5e8b5 Test and implement all direct checks of CanGoNext==true 2011-06-20 15:29:22 +03:00
Stein Magnus Jodal
7f64ba3e72 Test and implement mpris.CanGoNext property 2011-06-20 15:27:21 +03:00
Stein Magnus Jodal
8f59b0fae8 Test and implement all direct checks of CanGoPrevious==true 2011-06-20 15:21:44 +03:00
Stein Magnus Jodal
70139e0b7b Test and implement mpris.CanGoPrevious property 2011-06-20 15:21:09 +03:00
Stein Magnus Jodal
4de7c242b7 Test and implement all direct checks of CanPlay==true 2011-06-20 15:11:25 +03:00
Stein Magnus Jodal
4013a2ec9a Test and implement mpris.CanPlay property 2011-06-20 15:11:25 +03:00
Stein Magnus Jodal
97111d710f Test and implement all direct checks of CanPause==true 2011-06-20 14:53:11 +03:00
Stein Magnus Jodal
27c4b68e0f Test and implement mpris.CanPause property 2011-06-20 14:49:22 +03:00
Stein Magnus Jodal
10eeb894cc Test and implement all direct checks of CanSeek==true 2011-06-20 14:44:23 +03:00
Stein Magnus Jodal
7c2d3cd541 Test and implement mpris.CanSeek property 2011-06-20 14:44:23 +03:00
Stein Magnus Jodal
c8bc52b4c6 Test and implement all direct checks of CanControl==true before doing the designated action 2011-06-20 14:44:22 +03:00
Stein Magnus Jodal
a4d73a8d7e Test and implement mpris.CanControl property 2011-06-20 14:44:22 +03:00
Stein Magnus Jodal
22cba6f75c Test and implement mpris.OpenUri 2011-06-20 00:15:13 +03:00
Stein Magnus Jodal
1b075ac4a4 Test and implement mpris.Position property 2011-06-11 00:07:18 +02:00
Stein Magnus Jodal
84ac7b3e6a Test and implement mpris.Volume property 2011-06-11 00:01:42 +02:00
Stein Magnus Jodal
3df3527c73 Test and implement mpris.Shuffle property 2011-06-10 20:42:34 +02:00
Stein Magnus Jodal
e1fc403435 Test and implement mpris.Rate property 2011-06-10 20:35:45 +02:00
Stein Magnus Jodal
5d1da4eeaf Test and implement mpris.SetPosition() 2011-06-10 20:21:55 +02:00
Stein Magnus Jodal
4404e34a79 Test and implement mpris.Seek() 2011-06-10 19:55:59 +02:00
Stein Magnus Jodal
1a6d577ed5 Test and implement mpris.Play() 2011-06-10 19:39:36 +02:00
Stein Magnus Jodal
25d0b3d262 Test mpris.Stop() 2011-06-07 00:48:19 +02:00
Stein Magnus Jodal
8bea548518 Test and implement mpris.PlayPause() 2011-06-07 00:43:07 +02:00
Stein Magnus Jodal
5f7e905603 Add missing __init__.py in MPRIS test dir 2011-06-07 00:08:48 +02:00
Stein Magnus Jodal
9de9d91020 Remove unused import and mock 2011-06-07 00:08:33 +02:00
Stein Magnus Jodal
b99b68209e Test mpris.Pause() 2011-06-06 11:07:26 +02:00
Stein Magnus Jodal
3eecfac9f1 Test state changes on mpris.Previous() 2011-06-05 15:56:24 +02:00
Stein Magnus Jodal
136daac6a2 Test state changes on mpris.Next() 2011-06-05 15:49:15 +02:00
Stein Magnus Jodal
167384af60 Use 'mpris' instead of 'mpris_object' in tests 2011-06-05 14:14:50 +02:00
Stein Magnus Jodal
e407d8a4bb Implement setting of LoopStatus 2011-06-05 14:13:12 +02:00
Stein Magnus Jodal
9c0e139c17 Switch from mocking the backend to using DummyBackend 2011-06-05 14:10:14 +02:00