Thomas Adamcik
99d581f7fc
audio: Add position_changed event to know when seeks happen
2014-01-27 23:04:15 +01:00
Thomas Adamcik
6490d5bd2d
audio: Add more tests for audio events
2014-01-27 22:34:42 +01:00
Thomas Adamcik
a4315251ca
audio: Slight test refactor to not hide what is going on
2014-01-26 23:30:12 +01:00
Thomas Adamcik
d962277bc9
audio: Add stream_changed event plus tests
2014-01-26 23:27:30 +01:00
Thomas Adamcik
da724e6b77
Merge remote-tracking branch 'UncommonGoods/develop' into develop
2014-01-24 19:31:25 +01:00
Stein Magnus Jodal
bf9499131a
Bump version number to 0.18.1
2014-01-23 23:19:51 +01:00
nathanharper
039fc4b681
refactored mpd.protocol.music_db regex
...
got quote backreference working,
eliminated need for the non-capturing pattern,
fixed problem with quoted fields.
2014-01-22 05:16:38 -05:00
Thomas Adamcik
3c0cc1564c
local: Make browse test check ordering again
2014-01-20 23:22:15 +01:00
Thomas Adamcik
9ba168e9b9
local: Update browse cache code to add all directories
...
Tests have been updated to make sure multiple folders are added. We had
forgotten to add child folders to the ones that had already been created.
2014-01-19 22:21:02 +01:00
Stein Magnus Jodal
1ea0978af5
dummy: Move dummy backend back into the mopidy package
2014-01-18 01:38:10 +01:00
Thomas Adamcik
e97e620635
local: Rename json test to new naming scheme
2014-01-18 01:35:33 +01:00
Stein Magnus Jodal
da71d7fb14
Merge pull request #647 from adamcik/feature/browse-by-uri
...
Convert browse API to be fully URI based.
2014-01-17 15:58:39 -08:00
Stein Magnus Jodal
31abe0bc93
mpd: Annotate exceptions with current command automatically ( fixes #649 )
2014-01-18 00:34:41 +01:00
Stein Magnus Jodal
06856851f7
local: Make search filters more robust ( fixes #635 )
2014-01-17 23:43:43 +01:00
Thomas Adamcik
43e16ddb65
mpd: Switch mpd to use path<->uri mapping for browsing
2014-01-17 17:16:24 +01:00
Thomas Adamcik
d6aa9fb013
local: Convert local browsing to uri based system.
2014-01-17 17:16:24 +01:00
Thomas Adamcik
999f478010
core: Update browse to use uri isntead of path
2014-01-17 17:16:24 +01:00
Thomas Adamcik
826419d829
backend/core: Switch to root_directory instead of name
2014-01-16 22:53:18 +01:00
Stein Magnus Jodal
300c5d2e64
Merge pull request #644 from adamcik/feature/scanner-tag-handling
...
Cleanup taglist handling and translation to tracks.
2014-01-15 15:10:26 -08:00
Stein Magnus Jodal
06719d0e66
Bump version to 0.18.0a1 for easier testing of updated extensions
2014-01-15 23:51:28 +01:00
Thomas Adamcik
81b920a9e4
model: Update to handle None in sets.
...
Also adds some missing tests for composers and performers.
2014-01-15 22:20:36 +01:00
Thomas Adamcik
3e9cd0c4b7
audio: Add tests for all fields that can be converted
2014-01-15 22:20:36 +01:00
Thomas Adamcik
ac9f106107
audio: Update how translator test data is built.
2014-01-15 22:20:36 +01:00
Thomas Adamcik
b0b5d4972f
models: Make .copy(foo=None) null out field.
2014-01-15 22:20:36 +01:00
Thomas Adamcik
807bedad85
audio: Change audio data convert to operate on taglists
2014-01-15 22:20:36 +01:00
Thomas Adamcik
7209b38aa6
audio: Nest tags in scan data return value
2014-01-15 22:20:36 +01:00
Thomas Adamcik
57798a2757
audio: Ensure tests can be run on their own
2014-01-15 22:20:35 +01:00
Stein Magnus Jodal
d698653d83
mpd: Implement "listallinfo" command ( fixes #145 )
2014-01-15 01:11:27 +01:00
Stein Magnus Jodal
afbff12ccc
mpd: Implement "listall" command
2014-01-15 00:52:01 +01:00
Stein Magnus Jodal
c781f77ef3
Rename test files to pattern expected by test runners
2014-01-15 00:01:50 +01:00
Stein Magnus Jodal
ead48f61cb
Merge pull request #641 from jodal/feature/consistent-playback-events
...
Make core playback events consistent
2014-01-14 14:55:21 -08:00
Stein Magnus Jodal
c6cff2794c
Merge pull request #640 from adamcik/feature/local-browse
...
Add local browsing
2014-01-14 14:43:31 -08:00
Thomas Adamcik
03838a1968
mpd: Add tests for adding VFS folders
2014-01-14 23:29:52 +01:00
Thomas Adamcik
a8458720ee
local: Review fixes
2014-01-14 22:07:20 +01:00
Stein Magnus Jodal
1d108752f6
core: Make events emitted on playback consistent ( fixes #629 )
...
This commit does not try to make the events correct/perfect with regard to
GStreamer states, end-of-stream signalling, etc. It only tries to make the
events work consistently across all the methods on the playback controller.
* play(track) while already playing has changed from:
- playback_state_changed(old_state='playing', new_state='playing')
- track_playback_started(track=...)
to:
- playback_state_changed(old_state='playing', new_state='stopped')
- track_playback_ended(track=..., time_position=...)
- playback_state_changed(old_state='stopped', new_state='playing')
- track_playback_started(track=...)
* next() has changed from:
- track_playback_ended(track=..., time_position=...)
- playback_state_changed(old_state='playing', new_state='stopped')
- track_playback_ended(track=..., time_position=0)
- playback_state_changed(old_state='stopped', new_state='playing')
- track_playback_started(track=...)
to same as play() above.
* previous() has changed in the same way as next().
* on_end_of_track() has changed from:
- track_playback_ended(track=..., time_position=...)
- playback_state_changed(old_state='playing', new_state='playing')
- track_playback_started(track=...)
to same as play() above.
* stop() has reordered its events from:
- track_playback_ended(track=..., time_position=...)
- playback_state_changed(old_state='playing', new_state='stopped')
to:
- playback_state_changed(old_state='playing', new_state='stopped')
- track_playback_ended(track=..., time_position=...)
2014-01-14 01:18:39 +01:00
Thomas Adamcik
82584eb21a
local: Add browser support for json library.
2014-01-13 23:43:55 +01:00
Stein Magnus Jodal
e071a161d6
Merge pull request #634 from sdbakker/enhancement/mixer-volume
...
Mixer volume in config
2014-01-13 13:27:51 -08:00
Stein Magnus Jodal
05632c3b8b
backend: Update backend API imports
2014-01-11 18:20:45 +01:00
Stein Magnus Jodal
d724001f5b
tests: Move mopidy.backends.dummy to tests.dummy_backend
2014-01-11 15:49:22 +01:00
Stein Magnus Jodal
2731d23578
local: Move mopidy.{backends => }.local
2014-01-11 15:17:05 +01:00
Simon de Bakker
ca35094554
Forgot to adapt tests for audio actor
2014-01-10 23:38:59 +01:00
Thomas Adamcik
cb97def432
Merge pull request #626 from jodal/feature/library-browse
...
Library browsing support in backend and core API and MPD lsinfo command
2014-01-09 13:20:40 -08:00
Thomas Adamcik
c51fdc68a2
Merge branch 'feature/extm3u' of https://github.com/tkem/mopidy into develop
...
Conflicts:
mopidy/backends/local/translator.py
2014-01-09 22:14:29 +01:00
Stein Magnus Jodal
fe28311324
models: Use new Ref constructors
2014-01-09 08:54:33 +01:00
Stein Magnus Jodal
9da5ccbb79
models: Add type specific constructors to Ref
2014-01-09 08:50:31 +01:00
Stein Magnus Jodal
1fd1a38013
Merge branch 'develop' into feature/library-browse
...
Conflicts:
mopidy/backends/local/json/library.py
mopidy/core/actor.py
tests/backends/local/library_test.py
2014-01-09 08:39:38 +01:00
Stein Magnus Jodal
28cf3228b2
Merge pull request #617 from adamcik/feature/extension-registry
...
Switch to registry for most of mopidy extension hooks
2014-01-08 23:32:06 -08:00
Thomas Adamcik
96eb9a87c6
mpd: Whitespace fix to make travis happy.
2014-01-09 00:41:46 +01:00
kingosticks
f2a26ef246
Fixed line length for flake
2014-01-08 23:04:38 +00:00
kingosticks
0d74be0b1e
Empty MPD commands should return an error instead of OK, just like the original MPD server. Includes tests.
2014-01-06 12:33:20 +00:00