Thomas Adamcik
41d48dc0ec
audio: Stop mocking in audio event tests
2015-01-24 00:49:02 +01:00
Thomas Adamcik
b0aebaf993
core: Make sure current_tl_track changes on stream change
...
- Adds stream changed handler to core
- Moves playback started trigger to stream changed
- Made about to finish store next track in _pending_tl_track
- Set the pending track as current in stream changed
- Adds tests for all of this and fixes existing tests
2015-01-23 00:14:30 +01:00
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
edae29d769
core: Enable gapless playback
...
There is still quite a bit to be done is this area:
- We need to start tracking pending tracks as there is time window when we are
decoding a new track but still playing the old one
- Currently this breaks seek, next, prev during this time window
- The old on_end_of_track code needs to die.
- Stream changes need to trigger playing events and switch the pending track to
current.
2015-01-21 23:42:34 +01:00
Thomas Adamcik
ccd91c0b72
core: Pass audio in to playback
2015-01-21 23:28:57 +01:00
Thomas Adamcik
7595778d30
core: Consolidate playback tracking of played tracks
2015-01-21 23:19:20 +01:00
Thomas Adamcik
d42bede203
core: Remove core.playback.change_track
2015-01-21 23:17:22 +01:00
Thomas Adamcik
82bf1c0eb9
core: Move core.playback.on_end_of_track off change_track helper
...
Only handles the playing case, unlike the previous and next changes. It should
also be noted that this is just a temporary state on the road to making this
method handle gapless.
2015-01-21 23:15:42 +01:00
Thomas Adamcik
4a39671ee7
core: Move core.playback.previous off change_track helper
...
Same fix as for core.playback.next and mostly the same caveats.
2015-01-21 23:07:47 +01:00
Thomas Adamcik
bbb3301a98
core: Move core.playback.next off change_track helper
...
Note that since this doesn't use play via change_track we have to copy over the
tracking code and make sure it is only run for the playing case
2015-01-21 23:02:06 +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
Thomas Adamcik
3a3098dbe2
core: Update _get_backend to take tl_track
2015-01-21 19:19:59 +01:00
Thomas Adamcik
bd7ddcf7ea
Merge pull request #931 from ali/fix/local-search-with-album-query
...
local: Fix exact search to handle tracks where album is None (fixes #930 )
2015-01-06 10:44:11 +01:00
Ali Ukani
20751a5ad7
Fix album filter: Should work when track's album is an Album or None
2015-01-05 23:55:16 -05:00
Ali Ukani
dac5f9e406
Add test for exact search with album query
2015-01-05 23:24:52 -05:00
Stein Magnus Jodal
5d19a16837
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
docs/changelog.rst
2015-01-04 22:23:03 +01:00
kingosticks
73fac53dd5
Update changelog
...
(cherry picked from commit e252dd3a55 )
Conflicts:
docs/changelog.rst
2015-01-04 22:22:09 +01:00
kingosticks
7556af83b7
Use bytestrings when parsing M3U playlists
...
Fixes #853
(cherry picked from commit d666083c6f )
2015-01-04 22:21:28 +01:00
kingosticks
fe8a9f8c39
Add non-ascii utf-8 chars to test playlists
...
(cherry picked from commit 1e7a4247c6 )
2015-01-04 22:21:24 +01:00
Stein Magnus Jodal
3a28aa2999
docs: Docs site has HTTPS now
...
(cherry picked from commit 78b39390e3 )
2015-01-04 22:21:21 +01:00
Stein Magnus Jodal
767aa08685
New year
...
(cherry picked from commit edcad494da )
2015-01-04 22:21:15 +01:00
Stein Magnus Jodal
378daeb35a
Merge pull request #929 from kingosticks/fix/utf8-chars-in-m3u-playlists
...
Support utf-8 chars in m3u playlists
2015-01-04 22:19:08 +01:00
kingosticks
e252dd3a55
Update changelog
2015-01-04 20:54:13 +00:00
kingosticks
d666083c6f
Use bytestrings when parsing M3U playlists
...
Fixes #853
2015-01-04 20:26:45 +00:00
kingosticks
1e7a4247c6
Add non-ascii utf-8 chars to test playlists
2015-01-04 20:21:10 +00:00
Stein Magnus Jodal
78b39390e3
docs: Docs site has HTTPS now
2015-01-01 12:47:37 +01:00
Stein Magnus Jodal
edcad494da
New year
2015-01-01 12:45:28 +01:00
Thomas Adamcik
158a448e2b
audio: Fix bug in missing plugin code path
2014-12-30 11:58:57 +01:00
Thomas Adamcik
8d913b56da
docs: Add note about noqa use
2014-12-30 00:39:31 +01:00
Thomas Adamcik
f30ca831b6
tests: Add pep8-naming to tox flake8 env
2014-12-30 00:32:03 +01:00
Thomas Adamcik
c0ae202670
tests: Update tox flake8 settings
...
Run with show source so we can see the context in travis errors. Add stats for
number of errors. And limit ourselves to mopidy and tests as I happen to have
a tmp folder with non-conforming proof of concept code that I don't want this
to check.
2014-12-30 00:25:33 +01:00
Thomas Adamcik
ab49d75a45
tests: Fix outstanding flake8 errors in tests
2014-12-30 00:23:08 +01:00
Thomas Adamcik
627b856578
tests: Fix MPD tests helper names
2014-12-30 00:23:08 +01:00
Thomas Adamcik
fa8547c397
tests: Add noqa markers for setUp/tearDown
2014-12-30 00:23:01 +01:00
Thomas Adamcik
a50ba6e3a7
tests: Add noqa markers to custom assert helpers
2014-12-29 23:58:36 +01:00
Thomas Adamcik
9f6e0cc5fa
tests: Fix versions test pep8 naming errors
2014-12-29 23:48:59 +01:00
Stein Magnus Jodal
097172d574
Merge pull request #915 from adamcik/feature/taglist-converter
...
Add support for tracking metadata changes in audio
2014-12-28 20:21:37 +01:00
Thomas Adamcik
c575f13bf8
audio: Fix long line in docstring
2014-12-28 09:40:10 +01:00
Thomas Adamcik
5513cbcfb1
audio: Update audio taglist key documentation
2014-12-27 23:28:19 +01:00
Stein Magnus Jodal
29c6e198b5
Add mopidyctl script and manpage
...
Copied from Debian package
2014-12-27 14:47:53 +01:00
Stein Magnus Jodal
243bf4acbc
Add systemd service file
...
Copied from Debian package
2014-12-27 14:47:53 +01:00
Stein Magnus Jodal
7d443c6cda
Move {data => extra/desktop}/mopidy.desktop
2014-12-27 14:47:53 +01:00
Thomas Adamcik
eba3145888
core: Start marking some arguments and methods as internal per #870
2014-12-25 22:58:44 +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
890ed53ee6
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
docs/changelog.rst
2014-12-24 00:41:10 +01:00
Stein Magnus Jodal
e0dd9bcb11
Release v0.19.5
2014-12-24 00:39:06 +01:00
Stein Magnus Jodal
6af624a369
Bump version to 0.19.5
2014-12-24 00:37:33 +01:00
Stein Magnus Jodal
884c35e1f4
docs: Update changelog
2014-12-24 00:36:52 +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
Thomas Adamcik
d1997a37f7
Merge pull request #919 from jodal/fix/902-consume-track-on-next
...
playback: Remove skipped track on next in consume mode
2014-12-24 00:21:12 +01:00