Commit Graph

138 Commits

Author SHA1 Message Date
Thomas Adamcik
63003abb2e config: Flake8 fixes 2013-04-13 20:40:13 +02:00
Thomas Adamcik
467c8b34dc config: Move load, validate and overrides code into mopidy.config 2013-04-11 23:18:17 +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
87b526f8d3 main: Remove redundant dir creation 2013-04-09 12:41:07 +02:00
Stein Magnus Jodal
339fbbc2dd main: Use 'none' instead of emptry string
Same logic as for extensions are now applied to backends and frontends.
2013-04-09 12:20:36 +02:00
Stein Magnus Jodal
0b09ea3411 main: Log what backends/frontends are started 2013-04-09 11:21:25 +02:00
Stein Magnus Jodal
919becd05a main: Show 'Disabled extensions: none' instead of nothing 2013-04-09 11:07:52 +02:00
Stein Magnus Jodal
ef57c90526 path: Use our expand_path instead of os.path.expanduser 2013-04-09 00:09:33 +02:00
Stein Magnus Jodal
41d7ae9a2c Replace 'folder' with 'dir' 2013-04-08 21:13:59 +02:00
Stein Magnus Jodal
335c4d9fd8 main/path: Inline constants used once 2013-04-08 20:42:33 +02:00
Stein Magnus Jodal
2276130758 main: Use new config system 2013-04-07 00:34:24 +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
Thomas Adamcik
0826501884 main: Make it more obvious what helper to use for exiting 2013-04-03 22:01:40 +02:00
Thomas Adamcik
dcb28259f4 config: Switch logging to new config system 2013-04-03 01:01:07 +02:00
Stein Magnus Jodal
99f26dd41c Revert "main: Remove sys.path modification"
This reverts commit c00a49ebe1.
2013-04-03 00:39:57 +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
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
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
77cdb5b065 config: Add config based list_settings_callback 2013-04-02 19:33:26 +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
a341d3e0c4 main: Collect and validate config from all sources 2013-04-02 12:23:41 +02:00
Stein Magnus Jodal
2e678ffe8f ext: Change entry point from 'mopidy.extension' to 'mopidy.ext' to be more consistent 2013-04-02 12:07:35 +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
32277d158a main: Load extensions earlier 2013-04-02 01:33:29 +02:00
Stein Magnus Jodal
f446c323bd main: Move TODO 2013-04-01 20:06:20 +02:00