Commit Graph

346 Commits

Author SHA1 Message Date
Stein Magnus Jodal
404fb00235 Remove pylint remnants 2013-08-08 21:12:42 +02:00
Thomas Adamcik
18ed7c6279 local: Convert mopidy-local extension to local: uris.
- Use local:playlist:<name>, local:track:<path> and local:search uris
- Adds LocalPlaybackProvider which translates to file uris.
- Switches to storing actual uris in playlists - so local: urls and not
  file:// or plain paths.
- Moved file:// to streaming plugin
- Cleaned up tests and imports for these changes.
2013-07-30 00:40:12 +02:00
Thomas Adamcik
6818e20218 utils: Convert path_to_uri to single argument 2013-07-30 00:23:23 +02:00
Thomas Adamcik
af707dfdbb utils: Switch to urlparse for file-uri/path handling 2013-07-30 00:23:23 +02:00
Thomas Adamcik
351589c6c8 path: Add find_uris version of find_files 2013-05-20 22:42:31 +02:00
Stein Magnus Jodal
f7234a6128 commands: Fix verbose mode
argparse and optparse differs in how action='count', default=1 is interpreted.
2013-05-04 15:55:25 +02:00
Stein Magnus Jodal
a301906fe7 commands: Move --show-{config,deps} handlers to new module 2013-04-29 22:52:11 +02:00
Stein Magnus Jodal
a97aab7531 argparse: Convert mopidy command 2013-04-29 22:17:36 +02:00
Thomas Adamcik
a7b6ff7b18 path: Disallow unknown substitutions in expand_path 2013-04-25 22:39:07 +02:00
Thomas Adamcik
160a70e6df path: Only accept bytes as paths 2013-04-25 21:08:33 +02:00
Stein Magnus Jodal
004fe6dbf8 path: Handle XDG paths as bytes, not unicode 2013-04-23 23:18:16 +02:00
Stein Magnus Jodal
48dfcf6fd1 deps: Survive exceptions from pkg_resources 2013-04-18 18:05:55 +02:00
Stein Magnus Jodal
d88da482d4 deps: Don't show 'from ' at the end of the platform line 2013-04-18 12:11:04 +02:00
Thomas Adamcik
18ebb56b3e config: Add logging/config_file 2013-04-17 23:47:18 +02:00
Stein Magnus Jodal
a702deedae deps: 'none' should only be displayed if no other elements 2013-04-17 09:14:38 +02:00
Thomas Adamcik
c84cb95c3f Merge pull request #418 from jodal/feature/show-deps
Update --show-deps to list deps of extensions
2013-04-16 14:33:11 -07:00
Stein Magnus Jodal
466cf3ba33 deps: Rename --list-deps to --show-deps 2013-04-16 23:07:38 +02:00
Stein Magnus Jodal
164eaffea7 deps: Group GStreamer elements by found/not found 2013-04-16 23:05:15 +02:00
Stein Magnus Jodal
8798368763 deps: Move GStreamer to the bottom 2013-04-16 22:48:30 +02:00
Stein Magnus Jodal
07e6d11850 deps: Remove old manual deps checkers 2013-04-16 22:48:30 +02:00
Stein Magnus Jodal
609b6ace85 deps: Look up deps in pkg_resources 2013-04-16 22:48:29 +02:00
Stein Magnus Jodal
5de80228ea deps: Output one dep per line 2013-04-16 22:48:29 +02:00
Stein Magnus Jodal
21d17db7e2 formatting: Make indent() more useful 2013-04-16 22:39:08 +02:00
Thomas Adamcik
78d3888dd1 config: Remove ConfigErrors expception 2013-04-15 23:09:19 +02:00
Stein Magnus Jodal
a9a789aa8a conf: Rename logging.levels to loglevels
Part of #280
2013-04-15 20:40:01 +02:00
Stein Magnus Jodal
809b165966 exc: Remove unused SettingsError 2013-04-14 11:06:45 +02:00
Stein Magnus Jodal
f38b806133 utils: Remove unused importing utils 2013-04-14 10:54:26 +02:00
Thomas Adamcik
1ebc265235 Merge branch 'develop' into feature/reshuffle-config
Conflicts:
	mopidy/backends/local/__init__.py
	mopidy/backends/spotify/__init__.py
	mopidy/backends/stream/__init__.py
	mopidy/config.py
	mopidy/frontends/http/__init__.py
	mopidy/frontends/mpd/__init__.py
	mopidy/frontends/mpris/__init__.py
	mopidy/frontends/scrobbler/__init__.py
	mopidy/utils/config.py
	tests/config/types_test.py
2013-04-13 01:25:38 +02:00
Stein Magnus Jodal
6076a0f117 Fix flake8 warnings 2013-04-13 00:28:45 +02:00
Thomas Adamcik
d90a977a3b config: Move everything to mopidy.config sub-modules 2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
5174540096 log: Remove system info available in --list-deps 2013-04-11 13:27:08 +02:00
Stein Magnus Jodal
02f9db4518 path: Let get_or_create_file() create missing dirs 2013-04-09 12:40:28 +02:00
Stein Magnus Jodal
53827aa022 path: Close create file right away 2013-04-09 12:39:29 +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
638ea8cd27 Merge branch 'develop' into feature/use-new-config 2013-04-08 09:59:36 +02: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
Stein Magnus Jodal
63b7260c01 settings: Remove settings utils 2013-04-07 00:41:09 +02:00
Stein Magnus Jodal
2276130758 main: Use new config system 2013-04-07 00:34:24 +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
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
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
Stein Magnus Jodal
f9fb30c76c main/settings: Remove --interactive support 2013-04-03 00:16:37 +02:00
Thomas Adamcik
5214100854 config: Expand files before printing sources. 2013-04-02 23:58:13 +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
e226ddd652 config/ext: Remove ext. prefix from configs. 2013-04-02 22:12:00 +02:00