mopidy/tests
Thomas Adamcik bbf52eede9 backend: Change playback API (breaking change!)
While trying to remove traces of stop calls in core to get gapless working I
found we had no way to switch to switch tracks without triggering a play. This
change fixes this by changing the backends playback provider API.

- play() now _only_ starts playback and does not take any arguments.
- prepare_change() has been added, this could have been avoided with a kwarg to
  change_track(track), but that would break more backends.
- core has been updated to call prepare_change+change_track+play as needed.
- tests have been updated to handle this change.

Longer term I hope to completely rework the playback API in backends, as 99% of
our backends only use change_track(track) to translate URIs. So we should make
simple case simple, and handle mopidy-spotify / appsrc in some other way.

Cherry picked from the WIP gapless branch.
2015-03-21 00:05:00 +01:00
..
audio audio: Add support for checking seekable state in scanner 2015-03-12 22:11:50 +01:00
backend backend: Remove default impl of PlaylistProvider.playlists 2015-03-18 00:25:26 +01:00
config config: Convert the loglevel schema to a generic map schema 2015-02-25 21:36:59 +01:00
core backend: Change playback API (breaking change!) 2015-03-21 00:05:00 +01:00
data tests: Cleanup find tests to use tempfile all over. 2014-10-15 23:45:27 +02:00
http docs: Add changelog entry for broadcast race 2015-03-02 00:05:58 +01:00
local backend: Change playback API (breaking change!) 2015-03-21 00:05:00 +01:00
mpd Merge pull request #1039 from adamcik/bug/923/duration-as-int-or-none 2015-03-15 21:26:16 +01:00
stream stream: Hook stream scanner up to proxy settings 2015-02-13 00:52:20 +01:00
utils deps: Add executable path to 'mopidy deps' output 2015-03-14 23:07:59 +01:00
__init__.py flake8: Fix new warnings after flake8 upgrade 2015-02-07 17:11:36 +01:00
dummy_audio.py core: Only emit stream title changed for streams 2015-03-15 11:42:01 +01:00
dummy_backend.py backend: Change playback API (breaking change!) 2015-03-21 00:05:00 +01:00
dummy_mixer.py Allow 'none' as audio.mixer value 2015-03-10 00:26:22 +01:00
test_commands.py tests: Add noqa markers for setUp/tearDown 2014-12-30 00:23:01 +01:00
test_exceptions.py utils: Switch to exceptions.FindError for errors. 2014-12-14 14:08:45 +01:00
test_ext.py tests: Add noqa markers for setUp/tearDown 2014-12-30 00:23:01 +01:00
test_help.py py3: Use absolute imports by default 2014-12-07 20:17:10 +01:00
test_mixer.py tests: Add noqa markers for setUp/tearDown 2014-12-30 00:23:01 +01:00
test_models.py tests: Use assertEqual instead of assertEquals 2015-03-14 23:01:49 +01:00
test_version.py tests: Fix versions test pep8 naming errors 2014-12-29 23:48:59 +01:00