Stein Magnus Jodal
655b7badf4
listener: Speed up event emitting and improve error reporting
2015-02-09 00:10:33 +01:00
kingosticks
3dde71ed5e
Extract uri mapping from MpdContext
2015-02-08 23:05:56 +00:00
Lasse Bigum
4bf7a568d1
Check that config is readable
...
Implement a check on file permissions for the config files that are loaded
and print debug if mopidy fails to load it due to missing file file permissions
2015-02-07 17:47:20 +01:00
Stein Magnus Jodal
a693993905
flake8: Fix new warnings after flake8 upgrade
2015-02-07 17:11:36 +01:00
jcass
090518b96d
Add comment for Mac OS X volume reset workaround.
2015-02-04 07:46:31 +02:00
Lixxia
c698e07931
changed documentation to make installing from source clearer.
2015-02-03 20:56:37 -05:00
jcass
9d931adf4a
Re-set volume explicitly to the current level whenever changing tracks.
...
Workaround for issue #886 .
2015-02-03 18:30:56 +02:00
Stein Magnus Jodal
c6ec143060
Merge branch 'release/v0.19.x' into develop
2015-02-02 23:00:53 +01:00
Stein Magnus Jodal
193799a57a
Merge branch 'master' into release/v0.19.x
2015-02-02 23:00:16 +01:00
Dirk Groenen
7fd0603e16
docs: Update Mopidy-Mopify entry
2015-02-02 22:59:40 +01:00
Stein Magnus Jodal
071d0e0639
docs: Docs site has HTTPS now
...
(cherry picked from commit 78b39390e3 )
2015-02-02 22:59:40 +01:00
Stein Magnus Jodal
bec7d0d4ac
docs: New year
...
(cherry picked from commit edcad494da )
2015-02-02 22:59:38 +01:00
Stein Magnus Jodal
5b614e95d6
Update to Mopidy.js 0.5.0
2015-01-31 22:15:40 +01:00
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
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