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
Thomas Adamcik
aa010e03e9
listener: Try and protect actors against "bad" events
2015-12-04 23:53:09 +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
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
Stein Magnus Jodal
149fa15cab
docs: Fix return value reference
...
Fixes #1332
2015-11-22 21:05:32 +01:00
Thomas Adamcik
3a57a5792b
core: Make sure we always emit state_changed between tracks
...
Gapless broke this, so this change makes sure that next/prev/play and gapless
track changes all correctly emit events.
Note that this only ensures we get PLAYING -> PLAYING events. Not the old
STOPPED -> PLAYING and then PLAYING -> STOPPED.
2015-11-21 22:43:40 +01:00
Thomas Adamcik
e767cb3f41
tests: Convert local tracklist test to use core actor proxy.
2015-11-21 22:31:25 +01:00
Thomas Adamcik
216bd8e412
tests: Reorder listener_mock.send.mock_calls in assertEqual
2015-11-21 14:28:47 +01:00
Stein Magnus Jodal
6d37d462ac
Merge pull request #1329 from adamcik/develop
...
core: Mark tracks as played via playback ended events
2015-11-21 10:37:37 +01:00
Thomas Adamcik
01086a4cf4
core: Mark tracks as played via playback ended events
2015-11-21 00:34:27 +01:00
Stein Magnus Jodal
e945985448
Merge pull request #1328 from adamcik/feature/core-trigger-track-stopped-cleanup
...
core: Cleanup track ended event handling
2015-11-20 23:17:39 +01:00
Thomas Adamcik
da7ec9b202
core: Cleanup track ended event handling
...
Trigger playback ended on:
- stream changed
- EOS
- stop via stream changed events
Old behavior was to manually trigger on:
- next
- prev
- play with other track and old state != STOPPED
- stop
2015-11-19 22:45:55 +01:00
Stein Magnus Jodal
e48ac186f0
models: Deprecate Album.images
...
Fixes #1325
2015-11-18 15:03:13 +01:00
Stein Magnus Jodal
cc9a382f77
docs: Fix two links in same page with identical text
2015-11-18 14:55:52 +01:00
Stein Magnus Jodal
95f526b60e
docs: Use sphinx_rtd_theme
...
As for Debian packaging, the theme is packaged in jessie.
2015-11-18 14:51:29 +01:00
Nick Steel
8234d38a5d
docs: deprecated section headings were mixed up
2015-11-07 15:28:13 +00:00
Stein Magnus Jodal
d0e4e8e35d
versioning: Fix comparision of bytes and text
2015-10-29 22:57:25 +01:00
Stein Magnus Jodal
97c6b8812d
xdg: Read .dirs file as text for py3 compat
...
Py3's configparser isn't able to work with bytes.
2015-10-29 22:57:21 +01:00
Stein Magnus Jodal
587f2ac3d9
compat: Make more urlparse usage py2+3 compatible
2015-10-29 22:57:18 +01:00
Stein Magnus Jodal
b29d5df9b8
compat: Avoid non-ASCII in byte literals
2015-10-29 22:57:06 +01:00
Stein Magnus Jodal
41c906c912
compat: Ignore some py2-only builtins when running flake8 on py3
2015-10-29 22:21:54 +01:00
Stein Magnus Jodal
ee555ff09d
compat: Replace intern() with compat.intern()
2015-10-29 22:21:51 +01:00
Stein Magnus Jodal
0c059b85b1
compat: Replace (int, long) with compat.integer_types
2015-10-29 22:21:48 +01:00
Stein Magnus Jodal
7e2d77ce0e
compat: Replace basestring with compat.string_types
2015-10-29 22:21:19 +01:00
Stein Magnus Jodal
7b029bfcc4
compat: Make urllib/urlparse usage py2+3 compatible
2015-10-29 22:03:55 +01:00
Stein Magnus Jodal
790b64de13
xdg: Handle paths as bytes
2015-10-29 22:03:46 +01:00
Stein Magnus Jodal
8b57509028
xdg: Use configparser from compat module
2015-10-29 22:03:41 +01:00
Stein Magnus Jodal
7f742ca503
compat: Add future import
2015-10-29 22:03:20 +01:00
Stein Magnus Jodal
b38466ea04
Merge branch 'feature/mpd-playlist-mgmt' into develop
2015-10-29 21:29:54 +01:00
Stein Magnus Jodal
8aeb9841c5
mpd: Final cleanup of PR #1187 , #1308 and #1322
...
Fixes #1014 , fixes #1322
2015-10-29 20:50:23 +01:00
Alex Malone
7aa8aa2967
mpd: fix flake8 errors
2015-10-29 15:03:41 +01:00
Jelle van der Waa
d6afcf0abf
mpd: playlist addition / creation
...
- Rename _playlist_create to _create_playlist
- Change short variables to abbreviations
- Use double quoting when a string contains a single quote
- Use playlist_deleted event
2015-10-29 15:03:41 +01:00
kozec
cb20958e48
mpd: Added line about stored playlists modifying commands to changelog
2015-10-29 15:03:41 +01:00
kozec
cb4c6909f9
mpd: Added default_playlist_scheme to configuration
2015-10-29 15:03:41 +01:00
kozec
3a13bc2358
mpd: Added tests for stored playlists modifying commands
2015-10-29 15:03:41 +01:00
kozec
9e1de9989d
mpd: implemented MPD commands for modifying stored playlists.
2015-10-29 15:03:41 +01:00