Stein Magnus Jodal
acbde530c2
core: Add getters/setters for consume/random/repeat/single
...
Also, the properties and methods was sorted alphabetically. The `state` and
`time_position` properties were out of order.
2012-11-20 22:23:48 +01:00
Stein Magnus Jodal
d107b13fcb
core: Remove playback.current_tlid
2012-11-20 21:48:19 +01:00
Stein Magnus Jodal
2f27167677
core: Remove playback.track_at_previous
2012-11-20 21:48:03 +01:00
Stein Magnus Jodal
4c19321500
core: Remove playback.track_at_eot
2012-11-20 21:48:03 +01:00
Stein Magnus Jodal
70d4dba7aa
core: Remove playback.track_at_next
2012-11-20 21:47:44 +01:00
Stein Magnus Jodal
f588787ac3
core: Expose getters/setters for all properties
...
This will be useful when exposing the core API over various protocols, e.g.
JSON-RPC.
2012-11-20 09:13:34 +01:00
Stein Magnus Jodal
d226db9039
docs: Fix docstring errors
2012-11-20 08:57:31 +01:00
Stein Magnus Jodal
62bfb9376a
core: Refer to TlTrack instead of two-tuples in docstrings
2012-11-19 19:54:51 +01:00
Stein Magnus Jodal
f9bd0d00b3
audio: Move PlaybackState from core to audio so audio can use it
2012-11-14 00:35:17 +01:00
Stein Magnus Jodal
bba9548b27
Rename 'current playlist' to 'tracklist'
2012-11-13 10:59:48 +01:00
Stein Magnus Jodal
344d5bd49d
Merge pull request #238 from jodal/feature/optional-backend-providers
...
Make all three backend provider types optional
2012-11-13 01:41:18 -08:00
Stein Magnus Jodal
6acaa490e9
Make all strings unicode by default ( fixes #224 )
2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
d748c07daf
Update playback controller to support backends without playback support
2012-11-12 22:19:27 +01:00
Stein Magnus Jodal
2e6e53b14d
Remove code duplication
2012-10-29 09:48:53 +01:00
Stein Magnus Jodal
9a617b1803
Improvements after code review
2012-10-28 20:58:51 +01:00
Stein Magnus Jodal
c47cec9e65
Make core.playback select backend based on track URI
2012-10-28 11:10:39 +01:00
Stein Magnus Jodal
a5af7290ad
Give the core controllers a list of backends
2012-10-27 21:37:41 +02:00
Stein Magnus Jodal
893efe426f
Ignore pylint warning ( #211 )
...
Caused by helper function given access to class internals
2012-10-18 12:11:50 +02:00
Stein Magnus Jodal
666800ec57
Fix most flake8 warnings ( #211 )
2012-10-16 14:00:34 +02:00
Stein Magnus Jodal
3c66b3a011
Use module imports
2012-09-28 11:40:31 +02:00
Stein Magnus Jodal
c6b38820ce
Remove volume handling from backends
2012-09-28 01:58:53 +02:00
Stein Magnus Jodal
e7f08a7a20
Rename mopidy.{listeners.BackendListener => core.CoreListener}
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
90a538c595
Move wall clock-based time position into Spotify backend
2012-09-25 15:43:08 +02:00
Stein Magnus Jodal
2237e4f5a1
Move optional wall clock-based position tracking down to the playback provider
2012-09-25 12:10:25 +02:00
Stein Magnus Jodal
81fca7d686
Switch to time position from provider
2012-09-25 11:18:27 +02:00
Stein Magnus Jodal
12d6ce53dd
Send new time position to 'seeked' listeners
2012-09-25 11:18:27 +02:00
Stein Magnus Jodal
28e5ed8b2e
Send old and new state to playback_state_changed listeners
2012-09-25 11:18:26 +02:00
Stein Magnus Jodal
36698d1ae6
Hack to fix random test failure
...
With Pykka 0.16, test_status_method_when_playing_contains_time_with_length
fails now and then because play_time_started is not initialized before it is
used as an int.
I'm allowing myself to fix this in the simplest way possible instead of
tracking the issue down, since I'm already working on a refactor of the time
position code.
2012-09-19 02:03:51 +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