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
Stein Magnus Jodal
b46844fbe2
docs: Fix copy-paste error
2015-01-21 23:03:35 +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
Alexandre Petitjean
735d1662dc
Makes mpd 'currentsong' send song with metadata
2015-01-20 22:05:14 +01:00
Alexandre Petitjean
64cab9ae95
Rename current_md_track to current_metadata_track
2015-01-20 21:50:02 +01:00
Alexandre Petitjean
ef950a5e15
Adds audio in Core
2015-01-20 20:01:54 +01:00
Alexandre Petitjean
eeed2973f1
Fix metadata refresh with more than one pl in tracklist
2015-01-17 14:30:40 +01:00
Alexandre Petitjean
7ee1935315
MPD gets metadata's updates from stream
2015-01-16 23:45:07 +01:00
Alexandre Petitjean
e4dd04cfb7
One step beyond
2015-01-16 21:41:55 +01:00
Alexandre Petitjean
ec94449a63
Handle tags_changed in Core and send event to CoreListener
2015-01-15 22:25:34 +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