Commit Graph

2961 Commits

Author SHA1 Message Date
Stein Magnus Jodal
e9e5330a14 Turn off creation of nosetests.xml report by default
This is only needed by the Jenkins CI server, and our builds there have been
updated to pass --with-xunit explicitly.
2012-10-16 22:14:05 +02:00
Stein Magnus Jodal
074fb431bf Move Pykka version check to startup, to unbreak docs building 2012-10-16 22:09:40 +02:00
Stein Magnus Jodal
986c0a9ad3 Move get_version() helper to mopidy.utils.versioning 2012-10-16 21:45:36 +02:00
Stein Magnus Jodal
5a0529b142 Empty utils/__init__.py 2012-10-16 21:36:51 +02:00
Stein Magnus Jodal
bc531d987e Unroll registration of mixers 2012-10-16 19:36:54 +02:00
Stein Magnus Jodal
7c0495e6da Move MprisFrontend to an actor module 2012-10-16 16:17:14 +02:00
Stein Magnus Jodal
95946caa08 Move MpdFrontend to an actor module 2012-10-16 16:15:16 +02:00
Stein Magnus Jodal
d4f5d02c72 Move MpdSession to a session module 2012-10-16 16:13:23 +02:00
Stein Magnus Jodal
d9d6a3d5b6 Move exceptions to mopidy.exceptions 2012-10-16 16:08:46 +02:00
Stein Magnus Jodal
7c997d9221 Move create_track() helper to mopidy.audio.mixers.utils 2012-10-16 15:53:44 +02:00
Stein Magnus Jodal
e22175ca98 Move Audio actor from __init__.py to actor.py 2012-10-16 15:49:10 +02:00
Stein Magnus Jodal
7c0d724df8 Make flake8 ignore imports that flattens the module tree (#211) 2012-10-16 15:43:43 +02:00
Stein Magnus Jodal
3351d0e0d5 Move dummy backend out of its own dir 2012-10-16 15:40:27 +02:00
Stein Magnus Jodal
0c3c9a9cce Fold base backend into a single file
This removes three unused imports, which was only present to move the providers
to the correct location in the module tree. (related to #211)
2012-10-16 15:39:47 +02:00
Stein Magnus Jodal
def3615787 Move registration of audio mixers into a function (#211) 2012-10-16 15:33:26 +02:00
Stein Magnus Jodal
f69148c572 Move loading of MPD protocol modules into a function (#211) 2012-10-16 15:25:56 +02:00
Stein Magnus Jodal
f3d7f8f65f Fix all flake8 warnings in docs (#211) 2012-10-16 14:52:01 +02:00
Stein Magnus Jodal
357a08b30e Fix all flake8 warnings in setup.py (#211) 2012-10-16 14:49:53 +02:00
Stein Magnus Jodal
e65a612ac8 Fix all flake8 warnings in tools (#211) 2012-10-16 14:48:58 +02:00
Stein Magnus Jodal
ac60bcdf8e Fix all flake8 warnings in tests (#211) 2012-10-16 14:43:31 +02:00
Stein Magnus Jodal
4341b7c2ef Change author of mixers to 'Mopidy' 2012-10-16 14:01:17 +02:00
Stein Magnus Jodal
666800ec57 Fix most flake8 warnings (#211) 2012-10-16 14:00:34 +02:00
Stein Magnus Jodal
cef3f73d9a Check Pykka version on startup 2012-09-30 23:39:14 +02:00
Thomas Adamcik
05562464fd Merge pull request #210 from jodal/feature/core-actor
Move controllers to a core actor
2012-09-29 03:05:00 -07:00
Stein Magnus Jodal
3c66b3a011 Use module imports 2012-09-28 11:40:31 +02:00
Stein Magnus Jodal
fe80189acc Simplify import 2012-09-28 02:20:35 +02:00
Stein Magnus Jodal
c6b38820ce Remove volume handling from backends 2012-09-28 01:58:53 +02:00
Stein Magnus Jodal
609bd6a5b5 Limit audio access to the playback provider 2012-09-28 01:38:39 +02:00
Stein Magnus Jodal
c115cf123f MPD: Use core actor passed to frontend 2012-09-28 00:48:28 +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
63cd153b1b Let NetworkServer pass protocol_kwargs on 2012-09-28 00:48:23 +02:00
Stein Magnus Jodal
9798c34e79 Remove unused variable 2012-09-28 00:48:23 +02:00
Stein Magnus Jodal
4b13f46e2e Add AudioListener for events from the audio actor
This is analogous to how the core actor sends events to the frontends. This
removes the audio actor's direct dependency on the core actor, which
conceptually is on a higher layer.
2012-09-27 23:17:57 +02:00
Stein Magnus Jodal
8c78d469e2 Use Pykka proxies to send events
With Pykka >= 0.16, sending events can be done using proxies instead of
manually crafting Pykka's internal function call messages.
2012-09-27 22:25:22 +02:00
Stein Magnus Jodal
e7f08a7a20 Rename mopidy.{listeners.BackendListener => core.CoreListener} 2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
5a628a4150 MPRIS: Rename self.backend to self.core 2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
2fb878df2e MPD: Rename context.backend to context.core 2012-09-27 20:35:39 +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
c5ef8431c3 Remove unused imports 2012-09-27 20:09:31 +02:00
Stein Magnus Jodal
5dd67fa7a7 Remove reverse dependency on the stored playlists controller 2012-09-27 02:10:03 +02:00
Stein Magnus Jodal
061c155f1e Remove reverse dependency on the library controller 2012-09-27 02:03:48 +02:00
Thomas Adamcik
6ad6c2f775 Merge pull request #209 from jodal/feature/remove-playback-ctrl-dep
Refactor Spotify track position tracking
2012-09-26 13:18:53 -07:00
Stein Magnus Jodal
f80979517d Refactor Spotify track position tracking
- Moved to its own class, so it can easily be removed in the future if we get
  GStreamer based track position working for appsrc.
- Now tracks playback state itself, to not depend on the playback controller.
2012-09-26 22:13:46 +02:00
Stein Magnus Jodal
5265609610 MPRIS: New BackendListener.seeked() signature 2012-09-26 22:12:38 +02:00
Stein Magnus Jodal
4ba5395cc0 Remove unused imports 2012-09-26 14:39:22 +02:00
Thomas Adamcik
941d97dd82 Merge pull request #208 from jodal/feature/give-backends-an-audio-proxy
Explictly give backends an audio proxy
2012-09-26 02:23:48 -07:00
Stein Magnus Jodal
53d6156227 Give SpotifySessionManager audio and backend proxies on construction 2012-09-26 10:40:58 +02:00
Stein Magnus Jodal
f88b7115d9 Give the backends an audio proxy on construction 2012-09-26 10:40:58 +02:00
Stein Magnus Jodal
66f476e85a Fix typo 2012-09-26 10:08:59 +02:00