Commit Graph

3972 Commits

Author SHA1 Message Date
Thomas Adamcik
d90a977a3b config: Move everything to mopidy.config sub-modules 2013-04-11 22:24:27 +02:00
Thomas Adamcik
5816b5e099 config: Remove register schema as it is not used 2013-04-11 22:23:10 +02:00
Thomas Adamcik
4dd2a56f67 config: Convert mopidy.config to module 2013-04-11 22:23:10 +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
8af0326291 ext: Move ext helper functions from 'main' to 'ext' 2013-04-11 13:13:17 +02:00
Thomas Adamcik
3601b4e687 Merge pull request #407 from jodal/feature/mpris-needs-display
Turn off MPRIS if no $DISPLAY available
2013-04-11 03:52:23 -07:00
Stein Magnus Jodal
c1b42d97cd mpris: Disable extension if no $DISPLAY set
We cannot connect to the D-Bus session bus if there is no X11 $DISPLAY
available.
2013-04-10 23:58:55 +02:00
Stein Magnus Jodal
70068c0f4b mpris: Only import 'indicate' if $DISPLAY is set
This avoids printing of the following error message:

    ImportError: could not import gtk.gdk

Fixes #311
2013-04-10 23:58:00 +02:00
Stein Magnus Jodal
2b5e2f6e3f Update changelog 2013-04-09 23:41:52 +02:00
Stein Magnus Jodal
5af38b0a18 Merge pull request #396 from trefis/develop 2013-04-09 23:37:36 +02:00
Stein Magnus Jodal
3033b1db5f Merge branch 'develop' into pr/396
Conflicts:
	mopidy/frontends/mpd/dispatcher.py
2013-04-09 23:37:17 +02:00
Stein Magnus Jodal
016b2db69b mpd: Start numbering of duplicate playlist names at 2 2013-04-09 23:35:00 +02:00
Stein Magnus Jodal
24271681c9 mpd: Fix flake8 warnings 2013-04-09 23:33:19 +02:00
Stein Magnus Jodal
27ff2e5f0a Revert "mpd: 'private' fields start with an _"
This reverts commit f2000d6e6d.

I did not have the code fresh in mind when saying that these should be prefixed
with _. As they are accessed from other classes, they are indeed public, and
should not be prefixed. My bad.
2013-04-09 23:26:23 +02:00
Thomas Refis
f2000d6e6d mpd: 'private' fields start with an _ 2013-04-09 21:31:36 +02:00
Thomas Refis
5af26a226e mpd: added a test to check playlists names uniqueness 2013-04-09 19:25:52 +02:00
Thomas Refis
18a2d1770b mpd: bugfix in MpdContext.create_unique_name 2013-04-09 19:25:10 +02:00
Thomas Adamcik
f8e77e2414 Merge pull request #404 from jodal/feature/better-startup-messages
Better startup messages
2013-04-09 04:04:40 -07:00
Stein Magnus Jodal
bf83a159fe local: Create all needed dirs/files on startup 2013-04-09 12:53:15 +02:00
Stein Magnus Jodal
bc959e2240 local: Move data files into an extension specific dir 2013-04-09 12:44:35 +02:00
Stein Magnus Jodal
172b6f0461 local: Use path helpers to create tag cache 2013-04-09 12:44:16 +02:00
Stein Magnus Jodal
87b526f8d3 main: Remove redundant dir creation 2013-04-09 12:41:07 +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
40dd539d06 path: Test get_or_create_file() 2013-04-09 12:38:47 +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
Thomas Refis
7d59d03ec0 mpd: minor style commit 2013-04-09 11:53:37 +02:00
Stein Magnus Jodal
3b7d38e8bc scrobbler: Log who connected to Last.fm 2013-04-09 11:23:06 +02:00
Stein Magnus Jodal
2ffef53b9a mpris: Log who connected to D-Bus 2013-04-09 11:22:56 +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
da7e36d944 spotify: Use 'playlists' instead of 'playlist(s)' for consistency 2013-04-09 11:06:24 +02:00
Stein Magnus Jodal
796f7302aa local: Log how many tracks and playlists are loaded 2013-04-09 11:05:55 +02:00
Stein Magnus Jodal
f9f80e264e local: Create empty tag_cache if it doesn't exist 2013-04-09 11:05:32 +02:00
Stein Magnus Jodal
130347f994 docs: Update config page howtos 2013-04-09 01:04:47 +02:00
Stein Magnus Jodal
18d34d6ffc docs: Fix typo 2013-04-09 00:27:22 +02:00
Stein Magnus Jodal
74032e02ea docs: Check for 'MIXER_TRACK_' to not confuse with old 'MIXER_TRACK' setting 2013-04-09 00:23:37 +02:00
Stein Magnus Jodal
09a38d9523 docs: Use :confval: to make config docs linkable 2013-04-09 00:22:24 +02:00
Stein Magnus Jodal
2cd0fdc571 docs: Fix typo 2013-04-09 00:14:59 +02:00
Stein Magnus Jodal
5be8fa347f docs: Add 'confval' object type to Sphinx 2013-04-09 00:14:00 +02:00
Thomas Adamcik
423b7a326a Merge pull request #403 from jodal/feature/rename-path-to-dir
Use "dir" instead of "folder" or "path"
2013-04-08 15:12:13 -07: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
f9ed1ba4d3 mpd: Rename 'music_path' to 'music_dir' 2013-04-08 20:58:34 +02:00
Stein Magnus Jodal
3339b79c1e local: Rename 'music_path' to 'music_dir', 'playlist_path' to 'playlists_dir' 2013-04-08 20:58:17 +02:00
Stein Magnus Jodal
6e5cdb85b0 spotify: Rename 'cache_path' to 'cache_dir' 2013-04-08 20:46:10 +02:00
Stein Magnus Jodal
335c4d9fd8 main/path: Inline constants used once 2013-04-08 20:42:33 +02:00
Thomas Adamcik
8bf9242e5b Merge pull request #395 from jodal/feature/use-new-config
Update all frontends and backends to use new config system
2013-04-08 01:55:06 -07:00
Stein Magnus Jodal
05c74abbe3 http: Revert to use 'static_dir' 2013-04-08 10:01:36 +02:00
Stein Magnus Jodal
d83d33aece scrobbler: Update to use 'scrobbler' config values 2013-04-08 10:01:24 +02:00