Commit Graph

7018 Commits

Author SHA1 Message Date
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
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
kozec
f3f2375560 mpd: Added playlist_changed / stored_playlist event 2015-10-29 15:03:41 +01:00
Stein Magnus Jodal
e3064b668e Update authors 2015-10-29 15:03:28 +01:00
Stein Magnus Jodal
20efdbfc20 Merge pull request #1317 from ghallberg/develop
Run sphinx linkcheck in tox. Fixes for a bunch of broken links.
2015-10-27 08:14:44 +01:00
Stein Magnus Jodal
7bbf45312a Merge branch 'release-1.1' into develop 2015-10-26 23:26:03 +01:00
Stein Magnus Jodal
32ae87360c http: Catch and log all requests exceptions 2015-10-26 23:23:11 +01:00