Stein Magnus Jodal
d9d6a3d5b6
Move exceptions to mopidy.exceptions
2012-10-16 16:08:46 +02:00
Stein Magnus Jodal
ac60bcdf8e
Fix all flake8 warnings in tests ( #211 )
2012-10-16 14:43:31 +02:00
Stein Magnus Jodal
9fd3e93cb6
MPRIS: Use core actor passed to frontend
2012-09-28 00:48:28 +02:00
Stein Magnus Jodal
706b6c6d3f
Pass core actor to frontends
2012-09-28 00:48:24 +02:00
Stein Magnus Jodal
2fdeec9f5a
Move controllers to a new core actor
...
The frontends use the new core actor, while the core actor uses the backend.
This is a step towards supporting multiple backends, where the core actor will
coordinate the backends.
2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
5265609610
MPRIS: New BackendListener.seeked() signature
2012-09-26 22:12:38 +02:00
Stein Magnus Jodal
b3f3cfe2a0
Use assert{Less,Greater}[EEqual] in tests
2012-09-25 11:18:26 +02:00
Stein Magnus Jodal
a8d1d41ab3
Use assertIn and assertNotIn in tests
2012-09-15 17:46:25 +02:00
Stein Magnus Jodal
2ba05f9405
Add PlaybackState enum
2012-09-14 01:17:55 +02:00
Stein Magnus Jodal
0559213da3
Move backend controllers to mopidy.core
2012-09-13 23:41:20 +02:00
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