Thomas Adamcik
49f16704d8
core: Remove on_end_of_track from playback
...
This has been replaced by on_about_to_finish and on_end_of_stream.
Tests have been updated to reflect these changes.
2015-01-22 23:16:51 +01:00
Thomas Adamcik
9fc319055c
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.
2015-01-21 22:13:41 +01:00
Ali Ukani
dac5f9e406
Add test for exact search with album query
2015-01-05 23:24:52 -05:00
Thomas Adamcik
fa8547c397
tests: Add noqa markers for setUp/tearDown
2014-12-30 00:23:01 +01:00
Thomas Adamcik
656f7e976f
Merge branch 'develop' into feature/taglist-converter
...
Conflicts:
docs/changelog.rst
2014-12-25 22:46:44 +01:00
Stein Magnus Jodal
dbbb86e6c0
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
mopidy/core/playback.py
2014-12-24 00:24:19 +01:00
Stein Magnus Jodal
c6ff9eee86
playback: Remove skipped track on next in consume mode
...
Also adds core level tests of consume behavior on next/prev/eot.
Fixes #902
2014-12-24 00:04:41 +01:00
Thomas Adamcik
dcaa0f6732
local: Move musicbrainz cover art helper to translator
2014-12-18 23:28:14 +01:00
Thomas Adamcik
90fdd46109
local: Cleanup translator tests
2014-12-14 23:14:11 +01:00
Stein Magnus Jodal
496142c201
py3: Use absolute imports by default
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
7856c14b26
tests: Use with stmt for assertRaises
2014-09-25 23:03:35 +02:00
Thomas Kemmer
806174916d
Change JsonLibrary.lookup to return a list
2014-09-05 05:35:18 +02:00
Thomas Kemmer
f90671fe96
Fixed flake8: I201 Missing newline between sections or imports
2014-08-30 14:10:39 +02:00
Thomas Kemmer
380223bb96
local: Return multiple tracks from lookup()
2014-08-30 14:02:43 +02:00
Stein Magnus Jodal
6d6bc4b808
core: Use new mixer API
2014-07-08 01:11:25 +02:00
Stein Magnus Jodal
b754885064
Fix all import order warnings
2014-05-07 20:08:43 +02:00
Stein Magnus Jodal
061ff00a39
tests: Don't depend on the order of random sequences
2014-02-28 01:17:53 +01:00
Thomas Adamcik
3c0cc1564c
local: Make browse test check ordering again
2014-01-20 23:22:15 +01:00
Thomas Adamcik
9ba168e9b9
local: Update browse cache code to add all directories
...
Tests have been updated to make sure multiple folders are added. We had
forgotten to add child folders to the ones that had already been created.
2014-01-19 22:21:02 +01:00
Thomas Adamcik
e97e620635
local: Rename json test to new naming scheme
2014-01-18 01:35:33 +01:00
Stein Magnus Jodal
da71d7fb14
Merge pull request #647 from adamcik/feature/browse-by-uri
...
Convert browse API to be fully URI based.
2014-01-17 15:58:39 -08:00
Stein Magnus Jodal
06856851f7
local: Make search filters more robust ( fixes #635 )
2014-01-17 23:43:43 +01:00
Thomas Adamcik
d6aa9fb013
local: Convert local browsing to uri based system.
2014-01-17 17:16:24 +01:00
Stein Magnus Jodal
c781f77ef3
Rename test files to pattern expected by test runners
2014-01-15 00:01:50 +01:00
Thomas Adamcik
a8458720ee
local: Review fixes
2014-01-14 22:07:20 +01:00
Thomas Adamcik
82584eb21a
local: Add browser support for json library.
2014-01-13 23:43:55 +01:00
Stein Magnus Jodal
05632c3b8b
backend: Update backend API imports
2014-01-11 18:20:45 +01:00
Stein Magnus Jodal
2731d23578
local: Move mopidy.{backends => }.local
2014-01-11 15:17:05 +01:00