Commit Graph

82 Commits

Author SHA1 Message Date
Stein Magnus Jodal
65f14a9cc4 exc: Remove OptionalDependencyError
It is no longer needed as the extension loading mechanisms verifies the
environment and presence of dependencies before it tries to import modules that
would cause ImportErrors if optional dependencies are missing.
2013-04-14 11:26:16 +02:00
Stein Magnus Jodal
bcc7c3a890 mpris: Use new config system 2013-04-05 16:59:18 +02:00
Thomas Adamcik
6f39bde566 config: Start passing dummy config explicitly to audio/backends/frontends. 2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
6345022cfc Move frontend/backend import into methods 2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
49c8062ba6 mpris: Add discNumber support 2013-03-23 20:58:22 +01:00
Stein Magnus Jodal
50cce23d82 mpris: Add artUrl support 2013-03-23 20:46:43 +01:00
Stein Magnus Jodal
ea37cf1a44 core: Include the TlTrack in track_playback_* events 2012-12-19 17:06:04 +01:00
Stein Magnus Jodal
c5ac7aeb77 core: Include new volume level in volume_changed event 2012-12-19 16:31:58 +01:00
Stein Magnus Jodal
1ed56c9ed7 Use tracklist.add() instead of tracklist.append() 2012-11-20 21:55:51 +01:00
Stein Magnus Jodal
3bd9d2096f tests: Formatting 2012-11-19 21:09:10 +01:00
Stein Magnus Jodal
b8c7703c79 mpris: Implement the playlists interface (fixes #229) 2012-11-17 01:45:24 +01:00
Stein Magnus Jodal
684586dd18 mpris: Update for MPRIS 2.2 compliance 2012-11-15 09:04:21 +01:00
Stein Magnus Jodal
bba9548b27 Rename 'current playlist' to 'tracklist' 2012-11-13 10:59:48 +01:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
2d92a7a228 Start multiple backends 2012-10-27 14:55:09 +02:00
Stein Magnus Jodal
956655f742 Update tests to use tracks with valid URIs 2012-10-27 14:53:35 +02:00
Stein Magnus Jodal
d685fe554c Simplify pykka imports 2012-10-26 22:57:41 +02:00
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