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
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
Stein Magnus Jodal
0fb7c79524
log: Use loggers named after __name__
2014-01-01 13:31:20 +01:00
Thomas Adamcik
d93d3e6fcd
local: Add local/library config value
...
- Updated library provider to support missing library
- Added config value to select local library provider
- Updated tests to use library config value
2013-12-24 00:22:58 +01:00
Thomas Adamcik
8a94d81c42
ext: Move away from global registry to ease testing.
...
Extension's setup method are now passed the active registry allowing them to
"steal" a list of the registry items they care about. In the case of commands
the registry is passed via args.registry.
2013-12-23 21:46:24 +01:00
Thomas Adamcik
decce4ccf6
ext: Add basic global registry and switch to Extension.setup()
2013-12-22 15:11:15 +01:00
Thomas Adamcik
2d13734dfc
logging: Remove use of root logger
2013-11-26 16:42:04 +01:00
Thomas Adamcik
03c301705d
commands: Move mopidy.utils.command to mopidy.commands
...
- Also adds documenation to Command class.
- Moves scan command to commands to match naming.
2013-11-16 03:02:45 +01:00
Thomas Adamcik
f89169d551
commands: Review changes for wording etc ( #570 )
2013-11-16 02:23:04 +01:00
Thomas Adamcik
5f5c6a841c
ext/backend: Use utils.command directly.
...
Commands don't "belong" to backends or frontends so just leave it at an ext
level and start using mopidy.utils.command directly.
2013-11-14 23:34:06 +01:00
Thomas Adamcik
da4cfebe05
ext: Add get_command and mopidy.backends.base.Command
2013-11-14 23:31:20 +01:00
Thomas Adamcik
518cac5eab
ext/backends: Add get_sub_commands and BaseSubCommandProvider
2013-11-08 22:01:18 +01:00
Stein Magnus Jodal
152c8aa9c5
docs: Fix syntax error
2013-10-28 20:09:42 +01:00
Stein Magnus Jodal
aaef6b867e
docs: Fix build warning
2013-10-07 21:09:29 +02:00
Stein Magnus Jodal
5c7a496dc2
Fix flake8 warnings
2013-08-08 21:09:01 +02:00
Thomas Adamcik
6ac62c6869
local: Review fixes.
2013-07-30 22:59:22 +02:00
Thomas Adamcik
dfcb49a8ba
ext: Add library updaters to extensionss
2013-07-30 00:21:55 +02:00
Stein Magnus Jodal
8c65f34d01
docs: Make it explicit who starts the extension actors
2013-04-26 22:10:13 +02:00
Thomas Adamcik
2f8bc32c14
config: Remove ExtensionConfigSchema
2013-04-24 23:39:14 +02:00
Thomas Adamcik
b7232797ea
config/ext: Accept unicode defaults
2013-04-24 23:31:39 +02:00
Thomas Adamcik
134faddb9e
ext: Typo in docstring
2013-04-16 22:48:40 +02:00
Thomas Adamcik
5a495c590c
ext: Do not compound config enabled and validate_extension
2013-04-16 00:02:31 +02:00
Thomas Adamcik
992b293174
ext: Switch to validate_extension(extension, config)
2013-04-15 23:03:40 +02:00
Thomas Adamcik
ec939d707c
Merge branch 'develop' into feature/config-api-cleanup
...
Conflicts:
mopidy/__main__.py
mopidy/ext.py
2013-04-15 22:54:37 +02:00
Thomas Adamcik
7e154bdcbf
ext: Remove filter_enabled_extensions
2013-04-15 22:46:47 +02:00
Stein Magnus Jodal
2793a384c2
ext: Register ext's GStreamer elements
2013-04-15 22:44:11 +02:00
Stein Magnus Jodal
41594c116e
ext: Split load into load+validate
2013-04-15 22:43:51 +02:00
Thomas Adamcik
fb0810bf9e
config: Specify we want bytes for default configs
2013-04-15 17:43:14 +02:00
Stein Magnus Jodal
1debaf3276
docs: Fix class links in Ext API docs
2013-04-14 14:28:09 +02:00
Stein Magnus Jodal
be58c38083
docs: Fix link from Ext API to Config API
2013-04-14 14:23:12 +02:00
Stein Magnus Jodal
209c8d979a
docs: Document API of Extension class
2013-04-14 13:12:14 +02:00
Thomas Adamcik
6e42a381cd
config: Add name to schemas
2013-04-13 21:46:15 +02:00
Thomas Adamcik
a2b29151a5
Merge branch 'develop' into feature/reshuffle-config
...
Conflicts:
mopidy/ext.py
2013-04-13 21:09:37 +02:00
Thomas Adamcik
d143ec6e36
ext: Rename config_utils import to config_lib
2013-04-13 21:07:59 +02:00
Stein Magnus Jodal
0007597961
docs: Add mopidy.ext to API docs
2013-04-13 13:51:02 +02:00
Thomas Adamcik
d90a977a3b
config: Move everything to mopidy.config sub-modules
2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
8af0326291
ext: Move ext helper functions from 'main' to 'ext'
2013-04-11 13:13:17 +02:00
Stein Magnus Jodal
7d78d02d59
ext: Add both dist_name and ext_name to Extension class
2013-04-02 12:04:03 +02:00
Stein Magnus Jodal
12ff51ceba
ext: Replace validate_config() with get_config_schema()
2013-04-02 11:34:33 +02:00
Stein Magnus Jodal
64b0cc7b98
ext: Support multiple frontends/backends in an extension
2013-04-01 11:30:07 +02:00
Stein Magnus Jodal
f89f4151b0
ext: Add Extension base class
2013-04-01 11:02:02 +02:00