Commit Graph

7555 Commits

Author SHA1 Message Date
Bryan Bennett
128de6cd01 Set hostname/name to None
Works around mopidy/mopidy#1335
2015-12-23 11:31:22 -05:00
Thomas Kemmer
ef1468d8d6 core: Add PlaylistsController.get_uri_schemes(). 2015-12-13 19:02:33 +01:00
Stein Magnus Jodal
be5bdb8a85 Fix review comments on PR#1359 2015-12-12 11:01:52 +01:00
Stein Magnus Jodal
c29be93258 Merge PR#1359 from jcass77/fix/1358_consume_unplayable_tracks 2015-12-12 11:01:40 +01:00
jcass
e9eb9d61b4 Test cases for issue #1358 2015-12-11 07:47:07 +02:00
Stein Magnus Jodal
6f8b3ab1a2 docs: Add Mopidy-Spotmop 2015-12-09 22:26:55 +01: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
139634b93b Update changelog. 2015-12-06 19:27:02 +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
Thomas Adamcik
ede5b8abff logging: Catch errors when loading logging/config_file 2015-12-05 22:44:39 +01:00
Thomas Adamcik
22ec9d9060 mpd: Add missing seeked event handling for idle
Fixes #1331

(cherry picked from commit 19daa89e15)
2015-12-05 22:19:29 +01:00
Stein Magnus Jodal
3e259f1c00 Merge pull request #1347 from adamcik/feature/mpd-idle-cleanup
MPD idle cleanup
2015-12-05 21:36:11 +01:00
Stein Magnus Jodal
23cdeb208b Merge pull request #1346 from adamcik/feature/eot-seek-handling
Gapless aware seek handling
2015-12-05 21:34:51 +01:00
Thomas Adamcik
c2fc313151 mpd: Update event handling to warn about unknown events 2015-12-05 21:26:43 +01:00
Thomas Adamcik
1c2850bc3e docs: Use :issue: instead of :pr: 2015-12-05 21:24:18 +01:00
Stein Magnus Jodal
23d83a833f Merge pull request #1349 from adamcik/feature/mpd-playlists-error-handling
MPD playlist editing error handling
2015-12-05 21:14:55 +01:00
Thomas Adamcik
00b52da6ab mpd: Make sure rename error handling is correct 2015-12-05 14:30:18 +01:00
Thomas Adamcik
9ac1760dd1 mpd: Update playlistmove to check names and indexes 2015-12-05 14:11:27 +01:00
Thomas Adamcik
5de9495eaa mpd: Update playlistdelete to handle unknown names and indexes 2015-12-05 14:01:43 +01:00
Thomas Adamcik
b21debf6ee mpd: Sanity check stored playlist names 2015-12-05 13:51:36 +01:00
Thomas Adamcik
c3393d3d85 mpd: Refresh mapping when name is not present (Fixes #1348) 2015-12-05 12:49:45 +01:00
Thomas Adamcik
98e19e803b mpd: Deleting unkown playlist should return not found 2015-12-05 12:48:14 +01:00
Thomas Adamcik
8c6bb63963 docs: Improve changelog PR#1346 per review comments 2015-12-05 11:34:15 +01:00
Thomas Adamcik
da84c0f59c docs: Update changelog for MPD idle fixes 2015-12-05 11:22:33 +01:00
Thomas Adamcik
07328e7dd2 mpd: Map playlists_loaded to idle event stored_playlist 2015-12-05 11:08:33 +01:00
Thomas Adamcik
435ca5064a listener: Log kwargs in failed send calls 2015-12-05 11:05:45 +01:00
Stein Magnus Jodal
28224cef8c audio: Fix tests not exiting normally 2015-12-05 00:34:33 +01:00
Thomas Adamcik
aa010e03e9 listener: Try and protect actors against "bad" events 2015-12-04 23:53:09 +01:00
Thomas Adamcik
438b4b7a35 docs: Update changelog with seek related changes 2015-12-04 23:09:48 +01:00
Thomas Adamcik
a086857dd7 docs: Update changelog with MPD idle fixes 2015-12-04 22:16:35 +01:00
Thomas Adamcik
19daa89e15 mpd: Add missing seeked event handling for idle 2015-12-04 22:11:55 +01:00
Thomas Adamcik
7d4da4ac8c mpd: Add integration test for core events and idle 2015-12-04 22:10:27 +01:00
Thomas Adamcik
49b0580c39 mpd: Fix call signature for core playlist_deleted event 2015-12-04 22:08:56 +01:00
Thomas Adamcik
7ab2665292 mpd: Switch MpdSession to using on_event and re-use listener helper. 2015-12-04 21:20:24 +01:00
Thomas Adamcik
9f23757cc3 core: Return pending position during active seek.
This covers over that audio will fail query position while a seek is in
progress. It also means that instead of returning zero we at least return
something which is much closer to the time that we will soon end up playing
from.
2015-12-04 21:10:48 +01:00
Thomas Adamcik
eeb1f91ed1 core: Actually perform delayed "eot-seek" on stream changed 2015-12-04 21:10:48 +01:00
Thomas Adamcik
454077afeb core: Make sure certain events are ignored when doing eot-seeks 2015-12-04 21:10:48 +01:00
Thomas Adamcik
aeb881896b core: Trigger position changed from audio events.
Makes sure to only fire when the position changed to our intended seek target.
Otherwise we would also be triggering this when playback starts.
2015-12-04 21:10:48 +01:00
Thomas Adamcik
e74eafb38a core: Switch back to correct track if seek happens before stream changed
Technically the seek still needs to be postponed for this to work right, but
it's a step closer.
2015-12-04 21:10:48 +01:00
Thomas Adamcik
593f4e295b Merge pull request #1341 from jodal/feature/travis-on-trusty
travis: Test on Ubuntu 14.04 infrastructure
2015-11-29 01:46:56 +01:00
Stein Magnus Jodal
3c24d2d782 travis: Test on Ubuntu 14.04 infrastructure
This change also minimizes the set of Python packages installed with APT
so that we're testing against the latest PyPI releases when possible.
2015-11-29 01:38:07 +01:00
Stein Magnus Jodal
02f3fc24bb travis: coveralls 1.0 has been released 2015-11-29 00:54:01 +01:00
Stein Magnus Jodal
e495e382e7 docs: Update changelog and authors 2015-11-28 23:54:44 +01:00
Stein Magnus Jodal
b3ec02d0af Merge pull request #1337 from blueyed/handle-exception-in-extensions 2015-11-28 23:52:31 +01:00
Daniel Hahler
ebb413b6b1 Handle exceptions in load_extensions
This will skip those extensions, instead of crashing mopidy, e.g. when
mopidy-mopify fails because of a missing HOME environment variable
during mopidy's tests.
Ref: https://github.com/dirkgroenen/mopidy-mopify/issues/119
2015-11-28 23:51:52 +01:00
Stein Magnus Jodal
22b18a46d1 Merge pull request #1338 from blueyed/immutable-typeerror-fix-wording
Fix wording with TypeError in ImmutableObject.replace
2015-11-28 23:01:15 +01:00
Daniel Hahler
fa817dee35 Fix wording with TypeError in ImmutableObject.replace 2015-11-28 23:00:28 +01:00
Stein Magnus Jodal
cc3ec5e218 Merge pull request #1330 from adamcik/feature/core-state-changed-between-tracks
Core state change events between tracks
2015-11-22 23:00:11 +01:00
Stein Magnus Jodal
fe759e4e44 Merge branch 'release-1.1' into develop 2015-11-22 21:06:25 +01:00