Thomas Adamcik
90efbb6be7
config: Add a Path config value and an ExpandedPath wrapper.
...
Allows us to easily use expanded paths, without losing the original value for
display and storage. In theory we could be using same trick for passwords.
2013-04-05 22:49:33 +02:00
Stein Magnus Jodal
c9115aa480
main: Make sure 'extensions' is defined before 'finally' block is executed
2013-04-05 15:23:18 +02:00
Stein Magnus Jodal
b3952503b8
spotify: Fix errors after switch to new config system
2013-04-05 15:18:54 +02:00
Stein Magnus Jodal
f87ede0767
Merge pull request #388 from adamcik/feature/config-logging
...
config: Switch logging to new config system
2013-04-03 13:06:38 -07:00
Thomas Adamcik
0826501884
main: Make it more obvious what helper to use for exiting
2013-04-03 22:01:40 +02:00
Thomas Adamcik
7af373ca25
Merge pull request #389 from jodal/feature/spotify-using-config
...
Update Spotify backend to use config
2013-04-03 12:46:57 -07:00
Stein Magnus Jodal
6822f1248d
spotify: Switch to new config system
2013-04-03 11:02:03 +02:00
Stein Magnus Jodal
33c430a3cb
spotify: Rename 'proxy_host' to 'proxy_hostname' for consistency
2013-04-03 10:37:49 +02:00
Thomas Adamcik
dcb28259f4
config: Switch logging to new config system
2013-04-03 01:01:07 +02:00
Thomas Adamcik
73fb143f45
config: String escape strings
2013-04-03 01:00:34 +02:00
Thomas Adamcik
6f509d3a04
Merge branch 'develop' of github.com:mopidy/mopidy into develop
2013-04-03 00:57:40 +02:00
Thomas Adamcik
e1a109bd11
Merge pull request #386 from jodal/feature/main-cleanup
...
Small spring cleanup of __main__
2013-04-02 15:42:32 -07:00
Stein Magnus Jodal
99f26dd41c
Revert "main: Remove sys.path modification"
...
This reverts commit c00a49ebe1 .
2013-04-03 00:39:57 +02:00
Thomas Adamcik
de71154cb3
Merge branch 'develop' of github.com:mopidy/mopidy into develop
2013-04-03 00:20:53 +02:00
Stein Magnus Jodal
f9fb30c76c
main/settings: Remove --interactive support
2013-04-03 00:16:37 +02:00
Stein Magnus Jodal
6c4ec7e0c2
main: Remove support for --gst-* and --help-gst
...
Use GStreamer's environment variables instead, e.g. GST_DEBUG=3.
2013-04-03 00:14:05 +02:00
Stein Magnus Jodal
c00a49ebe1
main: Remove sys.path modification
2013-04-03 00:07:14 +02:00
Stein Magnus Jodal
77204f6b46
main: Fix flake8 warnings
2013-04-03 00:06:13 +02:00
Stein Magnus Jodal
e50a9ed7bf
Merge pull request #385 from adamcik/feature/config-integration
...
New config integration work
2013-04-02 15:04:03 -07:00
Thomas Adamcik
8f7e991903
config: Do not support -c as allias for --config
2013-04-02 23:58:54 +02:00
Thomas Adamcik
5214100854
config: Expand files before printing sources.
2013-04-02 23:58:13 +02:00
Thomas Adamcik
a9445ab251
ext: Log only enabled/disabled extensions at info level
2013-04-02 23:57:54 +02:00
Thomas Adamcik
8087efb319
config: Improve printing of disabled extensions in --show-config
2013-04-02 23:57:18 +02:00
Thomas Adamcik
07fa9548e6
config: Fix backticks in docstring.
2013-04-02 23:35:07 +02:00
Thomas Adamcik
0d30db7e5f
config: More review fixes and fixed help test.
2013-04-02 23:32:36 +02:00
Thomas Adamcik
54a59f5968
config: Add TODO regarding --show-config behaviour.
2013-04-02 23:24:07 +02:00
Thomas Adamcik
e0330e56c1
config: Get files to load from --config
2013-04-02 23:21:34 +02:00
Thomas Adamcik
5450905d49
main: Remove dead --debug-thread flag.
2013-04-02 23:12:37 +02:00
Thomas Adamcik
cbfafbad1a
config: Review nitpicks.
2013-04-02 23:09:16 +02:00
Thomas Adamcik
4802d80333
config: Rename --list-settings to --show-config
2013-04-02 23:03:22 +02:00
Thomas Adamcik
9310c08f4d
config: Use path.expand_path and $XDG_CONFIG_DIR instead of hardcoded .config
2013-04-02 22:56:01 +02:00
Thomas Adamcik
3c14d09c87
config: Rename ConfigParser to configparser.
2013-04-02 22:51:40 +02:00
Thomas Adamcik
f73c081ddf
config: Improve list settings output with disabled settings.
2013-04-02 22:36:22 +02:00
Thomas Adamcik
3f59e16f7c
config: Collect all config errors on startup.
2013-04-02 22:26:03 +02:00
Thomas Adamcik
0b416bc892
config: Update override format and flag name.
2013-04-02 22:19:12 +02:00
Thomas Adamcik
e226ddd652
config/ext: Remove ext. prefix from configs.
2013-04-02 22:12:00 +02:00
Thomas Adamcik
15d0c7a13f
config: Merge command line overrides into config.
2013-04-02 20:10:35 +02:00
Thomas Adamcik
3b8fe2fd9f
config: Remove old list settings and mask secret code.
2013-04-02 19:37:51 +02:00
Thomas Adamcik
77cdb5b065
config: Add config based list_settings_callback
2013-04-02 19:33:26 +02:00
Thomas Adamcik
29a4ff040e
config: Make list return tuples so we get imuttable data.
2013-04-02 19:19:24 +02:00
Thomas Adamcik
dcd0d7e813
ext: Rename ext_name to name and provide ext_name property that gives ext.$name
2013-04-02 19:16:49 +02:00
Thomas Adamcik
7c124d0f72
config/ext: fitler enabled extensions.
2013-04-02 19:14:46 +02:00
Thomas Adamcik
47570fcddc
config: Split load and validate config into two.
2013-04-02 19:14:46 +02:00
Thomas Adamcik
7051c15539
config: Start reworking flow in main towards using new config.
2013-04-02 19:14:46 +02:00
Thomas Adamcik
91be3e379f
config: Let user know what files we are loading.
2013-04-02 19:14:46 +02:00
Thomas Adamcik
f8b22f32e7
ext: Make info logging for loading extensions less verbose.
2013-04-02 19:14:46 +02:00
Thomas Adamcik
6f39bde566
config: Start passing dummy config explicitly to audio/backends/frontends.
2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
8dddc6d566
http: Fix docs typo
2013-04-02 17:58:10 +02:00
Thomas Adamcik
1f6de47275
Merge branch 'feature/collect-config' of http://github.com/jodal/mopidy into develop
2013-04-02 17:57:11 +02:00
Thomas Adamcik
0302a6802a
Merge pull request #384 from jodal/feature/extension-names
...
Explicitly defined extension names
2013-04-02 06:00:25 -07:00