Commit Graph

3267 Commits

Author SHA1 Message Date
Thomas Adamcik
3e9cd0c4b7 audio: Add tests for all fields that can be converted 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
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
d95b07f737 local: Make ordering of json browse stable 2014-01-14 00:46:07 +01:00
Thomas Adamcik
1b32b56cf0 mpd: Add support for VFS in add-commands 2014-01-14 00:31:45 +01:00
Thomas Adamcik
62ad6d1de2 core: Switch to neater handling of paths 2014-01-14 00:24:17 +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
Thomas Adamcik
816d047a09 local: Add browse support to local library interface 2014-01-13 21:36:20 +01:00
Stein Magnus Jodal
3e3f59c1d0 docs: Fix reference 2014-01-13 13:16:28 +01:00
Stein Magnus Jodal
7c3f7dfcea The harmless Zeroconf warning is confusing users 2014-01-12 12:19:04 +01:00
Stein Magnus Jodal
c7240141c2 log: Remove default config that has no effect for verbosity_level < 2 2014-01-12 01:47:01 +01:00
Stein Magnus Jodal
550f7a971b log: Add verbosity_level 2 and 3
Reduces the amount of dependency logging on level 1, and increases the amount
on level 2 and 3. Fixes #593.
2014-01-12 01:46:49 +01:00
Stein Magnus Jodal
bc31a42c49 Ignore INFO level log messages from requests 2014-01-11 21:21:55 +01:00
Stein Magnus Jodal
b1e5878518 docs: Fix param rendering 2014-01-11 19:55:00 +01:00
Stein Magnus Jodal
05632c3b8b backend: Update backend API imports 2014-01-11 18:20:45 +01:00
Stein Magnus Jodal
b6b542a60f backend: Move backend API to mopidy.backend
Keep imports from old locations working until extensions have been updated to
use the new location.
2014-01-11 18:20:45 +01:00
Thomas Adamcik
ff4c965aff Merge pull request #636 from jodal/feature/move-backends
Move backends out of mopidy.backends
2014-01-11 09:02:51 -08:00
Stein Magnus Jodal
4a8ab668df backend: Remove unused BaseLibraryUpdateProvider 2014-01-11 16:48:59 +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
Stein Magnus Jodal
120c381285 stream: Move mopidy.{backends => }.stream 2014-01-11 15:17:02 +01:00
Stein Magnus Jodal
7ab8fd8861 docs: Reference the correct element 2014-01-11 14:41:53 +01:00
Stein Magnus Jodal
bc4434a8cb ext: Doc Registry and setup(), deprecate old methods 2014-01-11 14:16:51 +01:00
Stein Magnus Jodal
95ef4c0193 ext: Remove get_library_updaters() 2014-01-11 14:05:54 +01:00
Simon de Bakker
d8270ec153 Removed empty line (caught by flake8) 2014-01-10 23:38:27 +01:00
Stein Magnus Jodal
7897fe7bac Fix typos 2014-01-10 00:04:39 +01:00
Thomas Adamcik
6afc85ec72 ext: Switch rest of bundled extensions to registry 2014-01-09 22:35:54 +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
Simon de Bakker
0980af2590 Set initial mixer volume for all mixers 2014-01-09 20:43:04 +01:00
Stein Magnus Jodal
8d6f9ee807 mpd: Use Ref type constants 2014-01-09 08:57:32 +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
042868e602 Merge branch 'develop' into feature/extension-registry
Conflicts:
	mopidy/backends/local/json/actor.py
	mopidy/backends/local/json/library.py
2014-01-08 23:50:03 +01:00
Thomas Adamcik
08961cfcdd docs: Update change log and local library info 2014-01-08 23:47:24 +01: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
Stein Magnus Jodal
edc27135fd js: Build updated mopidy.js 2014-01-04 00:07:12 +01:00
Stein Magnus Jodal
a5bbe248cc Merge remote-tracking branch 'connrs/browserify' into develop
Conflicts:
	js/Gruntfile.js
2014-01-03 23:47:57 +01:00
Stein Magnus Jodal
dcd912580f local: Change library.{name => root_directory_name} 2014-01-03 23:14:01 +01:00
Stein Magnus Jodal
252f4792a0 core: Check if library is browsable at startup 2014-01-03 23:12:03 +01:00
Stein Magnus Jodal
69836d2e16 backend: Rename library.name to library.root_directory_name 2014-01-03 23:10:02 +01:00