jcass
4e63e4280c
Merge remote-tracking branch 'upstream/release-1.1' into fix/1378
2016-01-04 00:04:42 +02:00
Stein Magnus Jodal
f2194e9d5e
fix: skip uplayable tracks when the next track is selected while in a paused state.
2016-01-02 15:51:17 +02:00
Stein Magnus Jodal
094a874055
core: Make lookup() ignore tracks without URI
...
Fixes #1340
2016-01-01 23:44:26 +01:00
Stein Magnus Jodal
c47c929440
Merge PR #1356 from jcass77/fix/1352 into release-1.1
2015-12-29 14:37:08 +01:00
Stein Magnus Jodal
be5bdb8a85
Fix review comments on PR#1359
2015-12-12 11:01:52 +01:00
jcass
e9eb9d61b4
Test cases for issue #1358
2015-12-11 07:47:07 +02:00
jcass
3cd3b45512
Fix flake8 errors.
2015-12-07 07:56:35 +02:00
jcass
fb7b466bee
Result of prepare_change no longer affects whether a track is added to the history.
...
Update changelog and test cases.
2015-12-07 07:53:34 +02:00
jcass
2b00e83179
Mark track as playing and add to history if changing track while paused.
2015-12-06 19:16:20 +02:00
Stein Magnus Jodal
c48b6515f9
core: library.refresh() should check if backend has library
...
...and not playlists.
Fixes #1257
2015-08-23 00:35:54 +02:00
Stein Magnus Jodal
9f08bce6cd
core: Update test
2015-08-11 10:06:58 +02:00
Bjørnar Snoksrud
1eb41aca7d
tests: fix test breakage due to promotion from int to long
...
This fixes #1240 .
In internals/path.py. there is a snippet of code that multiples mtime
for a file with 1000, and then casting it to `int`, to return the number
of milliseconds since epoch (or whatever). This will, however, not
ensure that the result is an `int`.
>>> type(int(2**32))
<type 'long'>
Instead, fix the tests to look for (int, long), and clarify the
implementation.
This bug found on a 32-bit VM :)
2015-08-05 22:38:21 +02:00
Thomas Adamcik
ee68a0a9da
Merge pull request #1238 from dbrgn/feature/996-playlist-delete-event
...
core: Implemented playlist_deleted event triggering
2015-07-26 12:12:23 +02:00
Danilo Bargen
8975e72b34
Implemented playlist_deleted event
2015-07-26 11:57:17 +02:00
Stein Magnus Jodal
a83d9836f9
core: Update test mock
2015-07-25 14:47:00 +02:00
Stein Magnus Jodal
0ebfeb5a5b
core: Normalize negative seek positions
...
This reverts a change between 1.0 and 1.1, so no changelog.
Fixes #1180
2015-07-22 12:15:38 +02:00
Ronald Zielaznicki
82ed660777
Add core config values to relevent test cases.
2015-07-19 23:05:39 -04:00
Stein Magnus Jodal
749c8baceb
Merge branch 'v1.0.x' into develop
...
Conflicts:
mopidy/core/library.py
tests/core/test_playback.py
2015-06-25 23:15:35 +02:00
Thomas Adamcik
1d636ce59e
core: Make sure track gets changed while paused
2015-05-20 23:26:55 +02:00
Stein Magnus Jodal
d8bcd7f273
Rename mopidy.utils to mopidy.internal
2015-05-07 23:15:56 +02:00
Thomas Adamcik
af4e7c8a4e
Merge branch 'develop' into feature/core-dont-trust-backends
...
Conflicts:
docs/changelog.rst
2015-05-07 00:15:33 +02:00
Thomas Adamcik
29c66f7bc8
core: Correct volume/mute return values
2015-05-07 00:13:58 +02:00
Thomas Adamcik
4d608dd431
core: Add get_current_tlid shortcut
2015-05-06 23:00:53 +02:00
Thomas Adamcik
cfd4dcb8dd
Merge branch 'develop' into feature/core-dont-trust-backends
...
Note that this merge also updated core.playlists.create to combine the 1.0.5
fix with these changes.
Conflicts:
mopidy/core/playlists.py
2015-05-06 22:44:12 +02:00
Thomas Adamcik
c01f8679bc
core: Address review comments for do not trust backends PR
2015-05-06 22:34:44 +02:00
Stein Magnus Jodal
6d82cdb611
tests: Cleanup reset_mock() usage
2015-05-06 21:06:30 +02:00
Stein Magnus Jodal
a17c413a70
Merge branch v1.0.x into develop
2015-05-06 20:47:52 +02:00
Thomas Kemmer
636639a201
Fix #1162 : Ignore None results and exceptions from PlaylistsProvider.create().
2015-05-06 14:50:21 +02:00
Thomas Adamcik
4aa984207b
tests: Split up core bad backend tests and unify naming
2015-05-06 01:01:12 +02:00
Thomas Adamcik
e7b241e18b
core: Update playlists to handle bad data from backends and exceptions
2015-05-06 00:28:58 +02:00
Thomas Adamcik
3426633c78
core: Make sure we handle bad mixer data and exceptions.
2015-05-05 23:41:46 +02:00
Thomas Adamcik
dd4a8f3b78
core: Make sure library can handle bad data from backends
...
Note that None values are just ignored, while other bad data logs an error
message and is ignored.
2015-05-05 22:55:53 +02:00
Thomas Adamcik
a62293c316
core: Add play(tlid) support
2015-04-22 20:55:51 +02:00
Thomas Adamcik
fba4069cfd
core: Make index return current index when missing args
2015-04-19 00:22:52 +02:00
Thomas Adamcik
6a7005be1e
core: Add tlid argument to index calls.
...
Should save clients from having to pass tl_track models around.
2015-04-19 00:22:52 +02:00
Thomas Adamcik
81fd426caf
tests: Update tests to not used deprecated kwargs
2015-04-17 00:00:58 +02:00
Thomas Adamcik
efad50c253
cleanup: Stop using deprecated copy()
2015-04-17 00:00:58 +02:00
Thomas Adamcik
2cc91c0a7f
core: Fix review comments for PR#1111
2015-04-08 23:13:07 +02:00
Thomas Adamcik
e5f59495fc
core: Update refresh test case to fail on multiple calls to same backend
2015-04-08 21:18:18 +02:00
Thomas Adamcik
511cf4e326
core: Catch exceptions when browsing in backends
...
Also splits browse into to method to better distinguish the two possible code
paths.
2015-04-08 21:17:44 +02:00
Thomas Adamcik
50f68064be
core: Update PlaylistsController to catch backend exceptions
2015-04-06 02:13:51 +02:00
Thomas Adamcik
66771dec68
core: Update LibraryController to catch backend exceptions
2015-04-06 02:12:56 +02:00
Stein Magnus Jodal
c4940cbea2
autopep8: Add space after class signature/docstring
2015-04-03 00:05:26 +02:00
Thomas Adamcik
9ede14f4a1
tests: Convert to using deprecation helpers across the board.
2015-03-30 23:50:54 +02:00
Thomas Adamcik
f4c93619d1
core: Make core tracklist.add(tracks=...) deprecation safe
2015-03-29 23:11:00 +02:00
Thomas Adamcik
d3b275e1a4
core: Mark tracklist.add by URI as deprecated
2015-03-29 23:11:00 +02:00
Thomas Adamcik
49fc9941a1
core: Mark searching via keyword argument based query deprecated
2015-03-29 23:11:00 +02:00
Thomas Adamcik
0ab52a73fa
core: Mark library.lookup by uri deprecated
...
Updates core, mpd and tests to not use deprecated calls or safely catch them
when running with -W error.
2015-03-29 23:11:00 +02:00
Thomas Adamcik
f5f9899db9
tests: Make bases test classes in core
2015-03-29 23:10:58 +02:00
Thomas Adamcik
a54551d985
core: Mark get_playlists and filter as deprecated
2015-03-29 23:10:19 +02:00