Commit Graph

3905 Commits

Author SHA1 Message Date
Stein Magnus Jodal
e0cf6cd8a8 Merge pull request #391 from adamcik/feature/config-path
Add a Path config value that provides expanded path and original.
2013-04-08 00:04:48 -07:00
Thomas Adamcik
28d3b265c2 Merge branch 'develop' into feature/config-path
Conflicts:
	mopidy/backends/spotify/__init__.py
2013-04-07 22:02:32 +00:00
Thomas Adamcik
4f0e1e448c config: Add path config value tests 2013-04-07 22:01:34 +00:00
Stein Magnus Jodal
837db09aff docs: Sort list 2013-04-06 01:45:09 +02:00
Stein Magnus Jodal
4a3464ff38 Merge remote-tracking branch 'adamcik/feature/rename-lastfm-to-scrobbler' into develop 2013-04-06 01:44:51 +02:00
Stein Magnus Jodal
60ce750747 config: Add missing config section schema 2013-04-06 01:44:05 +02:00
Stein Magnus Jodal
0cc3de9e6c Merge remote-tracking branch 'adamcik/feature/config-proxy' into develop 2013-04-06 01:43:28 +02:00
Stein Magnus Jodal
702ffdbc06 Merge pull request #392 from adamcik/feature/config-did-you-mean
Steal did you mean from settings.
2013-04-05 16:35:20 -07:00
Thomas Adamcik
7d44f9967d scrobbler: Renamed lastfm to scrobbler (fixes #375) 2013-04-05 23:59:15 +02:00
Thomas Adamcik
7ac629a675 config: Create global proxy config section. 2013-04-05 23:39:22 +02:00
Thomas Adamcik
5a79b65d47 settings: Remove did you mean. 2013-04-05 23:33:27 +02:00
Thomas Adamcik
bd3d8f6932 config: Steal did you mean code from settings. 2013-04-05 23:33:27 +02:00
Thomas Adamcik
36266064d3 config: Switch all paths and files to use the Path in schemas.
Also renames static_dir to static_path for better consistency.
2013-04-05 22:50:31 +02:00
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