Stein Magnus Jodal
f3004ed4d2
config: Fix flake8 warnings
2013-04-01 22:05:10 +02:00
Thomas Adamcik
5e608c18dc
config: re-add ConfigError.__iter__
2013-04-01 21:26:48 +02:00
Thomas Adamcik
50980723f8
Merge branch 'develop' into feature/config
2013-04-01 21:25:07 +02:00
Thomas Adamcik
3509ec4b37
config: Address review comments.
2013-04-01 21:21:59 +02:00
Thomas Adamcik
e00b7a63f0
config: Add mopidy.config to hold config schemas and eventually settings access and loading.
2013-04-01 21:03:16 +02:00
Thomas Adamcik
b4c553e201
config: Add LogLevelConfigSchema.
2013-04-01 20:33:22 +02:00
Thomas Adamcik
980792e527
config: Add ExtensionConfigSchema.
2013-04-01 20:23:34 +02:00
Stein Magnus Jodal
aa1f8199c2
Remove the FRONTENDS setting
2013-04-01 20:22:29 +02:00
Stein Magnus Jodal
74788a2ccb
Remove the BACKENDS setting
2013-04-01 20:14:20 +02:00
Thomas Adamcik
0535084162
config: Add config schema and tests.
...
Config schemas are used to group config values and check that each of them is
deserialized corretly, that none are missing and that there are no unkown keys
present.
2013-04-01 20:14:04 +02:00
Stein Magnus Jodal
f446c323bd
main: Move TODO
2013-04-01 20:06:20 +02:00
Stein Magnus Jodal
eef148d3af
main: Remove unused import
2013-04-01 20:06:20 +02:00
Stein Magnus Jodal
396fec5ba8
main: Log a bit more on startup and shutdown
2013-04-01 19:47:25 +02:00
Stein Magnus Jodal
e1d75eec30
main: Validate extension's distribution requirements
2013-04-01 19:47:25 +02:00
Stein Magnus Jodal
8ff7d792d5
main: Validate extension environment
2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
6345022cfc
Move frontend/backend import into methods
2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
7d90dd42b5
main: Load frontends/backends from extensions
2013-04-01 19:47:24 +02:00
Thomas Adamcik
c76ca0f726
Merge pull request #374 from jodal/feature/define-existing-extensions
...
Define extension for existing backends and frontends
2013-04-01 10:46:01 -07:00
Stein Magnus Jodal
111d315d1e
spotify: Fix style
2013-04-01 19:34:39 +02:00
Thomas Refis
5982d1059c
Reverse the list of tracks in the Starred playlist.
...
As it is in reverse order from the "official" spotify client.
2013-04-01 18:33:52 +02:00
Thomas Refis
211b20c496
Adds 'Starred' playlist to the playlist catalog
...
Related to issue #326
2013-04-01 18:17:00 +02:00
Stein Magnus Jodal
ec7c172c2e
Add ext prefix to config sections
2013-04-01 16:14:34 +02:00
Stein Magnus Jodal
a52ae2091b
Update Pykka version check
2013-04-01 16:06:23 +02:00
Stein Magnus Jodal
2176ab3d98
lastfm: Define extension
2013-04-01 15:18:25 +02:00
Stein Magnus Jodal
0f1c4c1dff
http: Define extension
2013-04-01 15:18:25 +02:00
Stein Magnus Jodal
5b6fc25cf8
mpris: Define extension
2013-04-01 15:18:24 +02:00
Stein Magnus Jodal
a5f3bfc9c4
mpd: Define extension
2013-04-01 15:03:54 +02:00
Stein Magnus Jodal
d65a986a56
stream: Define extension
2013-04-01 14:56:37 +02:00
Stein Magnus Jodal
d8c7b876be
local: Define extension
2013-04-01 14:55:30 +02:00
Stein Magnus Jodal
7060a75072
spotify: Define extension
2013-04-01 14:27:12 +02:00
Thomas Adamcik
66c067aa96
config: Add Hostname and Port ConfigValues and tests.
2013-04-01 14:21:44 +02:00
Thomas Adamcik
6af8b4b090
config: Add LogLevel ConfigValue and tests.
2013-04-01 14:02:28 +02:00
Thomas Adamcik
d46f926f14
config: Add List ConfigValue and tests.
2013-04-01 13:46:13 +02:00
Thomas Adamcik
452cf839c4
config: Add Boolean ConfigValue and tests.
2013-04-01 13:38:59 +02:00
Thomas Adamcik
21d0a938f9
config: Add Integer ConfigValue and tests.
2013-04-01 13:31:15 +02:00
Thomas Adamcik
7cb68a41ac
config: Improve validate error messages and fix handling of non-string choices.
2013-04-01 13:29:32 +02:00
Thomas Adamcik
119644c186
config: Add String config value and tests.
2013-04-01 13:20:33 +02:00
Thomas Adamcik
c22f0f5f9d
config: Add ConfigValue base class and tests.
2013-04-01 13:07:05 +02:00
Thomas Adamcik
ba425d8ccb
config: Start adding basic validators + tests for new config values.
2013-04-01 13:07:05 +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
0ec989d2cb
ext: Add ExtensionError exception class
2013-04-01 11:11:37 +02:00
Stein Magnus Jodal
f89f4151b0
ext: Add Extension base class
2013-04-01 11:02:02 +02:00
Stein Magnus Jodal
d0082111b1
Bump version number to 0.13.0
2013-03-31 16:52:37 +02:00
Stein Magnus Jodal
4f8907bbeb
mpd: Handle paths as bytes with unknown encoding, not UTF-8 or Unicode
2013-03-31 16:46:03 +02:00
Stein Magnus Jodal
bc78a65fff
js: Upgrade when.js from 1.8.1 to 2.0.0
2013-03-31 14:09:32 +02:00
Thomas Adamcik
6283c6ee9b
Merge pull request #363 from jodal/feature/expose-uri-schemes-to-http-clients
...
Expose uri schemes to http clients
2013-03-31 03:55:59 -07:00
Stein Magnus Jodal
06c7d8ea46
Merge branch 'develop' into feature/limit-search-by-uri-root
...
Conflicts:
docs/changes.rst
2013-03-31 12:45:31 +02:00
Thomas Adamcik
2845f9cf8b
Merge pull request #365 from jodal/feature/tracklist-add-by-uri
...
Add to tracklist by URI
2013-03-31 00:31:02 -07:00
Stein Magnus Jodal
0fe5ff8712
docs: js/README.rst was renamed to .md
2013-03-31 07:51:21 +02:00
Stein Magnus Jodal
3d847862ae
mpris: Use add(uri=uri) instead of add(lookup(uri))
2013-03-31 00:19:50 +01:00