Commit Graph

4819 Commits

Author SHA1 Message Date
Thomas Adamcik
c025b87076 tagcache: Split out to own extension for eventual deletion. 2013-11-27 00:04:51 +01:00
Thomas Adamcik
3c1c6bac71 local: Always return track with just uri for local playlist tracks
This is related to #527, but is only a stop gap until we fix it right. Note
that this actually causes a regression, as not playlist tracks will have any
metadata after this change.
2013-11-27 00:04:51 +01:00
Thomas Adamcik
04044d035f core: Refactor core Backends helper
Replaces the jungle of extra dicts/lists with an OrderedDict per backend
feature type. Also makes sure that each type/scheme is unique instead of
the scheme alone.
2013-11-27 00:04:51 +01:00
Thomas Adamcik
ff9f473c2f local: Move tag cache translators and tests out. 2013-11-26 17:47:52 +01:00
Thomas Adamcik
03f5ff6f57 local: Start moving tag cache code out of main local 2013-11-26 17:15:26 +01:00
Thomas Adamcik
2d13734dfc logging: Remove use of root logger 2013-11-26 16:42:04 +01:00
Stein Magnus Jodal
eebfef5a6c Merge pull request #594 from adamcik/feature/async-listeners
listeners: Make listeners async
2013-11-26 07:17:31 -08:00
Thomas Adamcik
9e1d46a661 listeners: Import grouping fix 2013-11-26 16:04:21 +01:00
Thomas Adamcik
c128668621 listeners: Make listeners async
- Add a common Listener base class
- Make send helper for sending out events with pykka
- Make send async helper for avoiding blocking events

This change ensures all the events now get sent out via the MainThread instead
of blocking the actors.
2013-11-26 15:10:48 +01:00
Stein Magnus Jodal
c3d6234a5e Merge branch 'master' into develop 2013-11-23 21:50:36 +01:00
Stein Magnus Jodal
54caa95fb4 mpd: Format multiline patterns properly, second try
(cherry picked from commit f383e9ad48)
2013-11-23 21:50:04 +01:00
Stein Magnus Jodal
55afa18672 docs: Fix reference
(cherry picked from commit 13fb2bf604)
2013-11-23 21:49:58 +01:00
Stein Magnus Jodal
abc6cc7ac6 mpd: Format multiline patterns properly in docs
(cherry picked from commit e2b36cb0f0)
2013-11-23 21:49:50 +01:00
Stein Magnus Jodal
f383e9ad48 mpd: Format multiline patterns properly, second try 2013-11-23 21:47:11 +01:00
Stein Magnus Jodal
13fb2bf604 docs: Fix reference 2013-11-23 21:40:05 +01:00
Stein Magnus Jodal
e2b36cb0f0 mpd: Format multiline patterns properly in docs 2013-11-23 21:39:18 +01:00
Stein Magnus Jodal
972056643f docs: Use twine for uploading sdist/bdist_wheel 2013-11-23 21:31:20 +01:00
Stein Magnus Jodal
c6ca88fdfc setup: Fix capitalization of CherryPy package 2013-11-23 21:27:33 +01:00
Stein Magnus Jodal
2b7bc870cf Release v0.17.0 2013-11-23 20:23:06 +01:00
Stein Magnus Jodal
3dc4ab4921 Bump version to 0.17.0 2013-11-23 20:22:27 +01:00
Stein Magnus Jodal
519002dd93 docs: Update changelog for v0.17.0 2013-11-23 20:22:00 +01:00
Stein Magnus Jodal
eaf6e51ed7 docs: Update changelog 2013-11-23 08:30:18 +01:00
Stein Magnus Jodal
933b2b336f Merge pull request #588 from adamcik/feature/config-defaults
Initialize config with commented out defaults.
2013-11-22 22:56:01 -08:00
Thomas Adamcik
774e629425 config: Fix review comments. 2013-11-23 07:18:57 +01:00
Thomas Adamcik
7dbabd1960 config: Initialize config with defaults
Try and create args.config_file[-1] with the default config commented out.
We assume that the directory the config file is in exists.
2013-11-22 07:17:02 +01:00
Thomas Adamcik
b22d7bee0b utils: Add mkdir and content options to get_or_create_file
This lets callers control is parent directories are created, and set the
default content of the file.
2013-11-22 07:17:02 +01:00
Thomas Adamcik
17a1336e5c config: Add format_initial helper to populate empty configs. 2013-11-22 07:17:02 +01:00
Thomas Adamcik
bd1ee7ff39 config: Add support for formating with commented out defaults
- Changes inline comments to ; for configparser conformance
2013-11-22 07:17:01 +01:00
Stein Magnus Jodal
9ca222ed39 dbus: Skip mainloop setup if dbus isn't installed 2013-11-20 23:14:08 +01:00
Stein Magnus Jodal
6cae0ddfe9 Revert "travis: Manually install python-dbus"
This reverts commit 16a76d4ea5.
2013-11-20 23:13:39 +01:00
Stein Magnus Jodal
8ea996de13 Revert "tests: Don't redefine PYTHONPATH"
This reverts commit 6be5cc0f1b.
2013-11-20 23:13:31 +01:00
Stein Magnus Jodal
16a76d4ea5 travis: Manually install python-dbus
Now used by GObject eventloop registration, Zeroconf integration, and keyring
integration.
2013-11-20 22:53:23 +01:00
Stein Magnus Jodal
6be5cc0f1b tests: Don't redefine PYTHONPATH
Shot in the dark to get Travis to find dbus-python when running the `mopidy`
command as a subprocess of the tests.
2013-11-20 22:40:12 +01:00
Stein Magnus Jodal
f233d8c48e docs: Update changelog 2013-11-20 22:31:11 +01:00
Stein Magnus Jodal
33d82b0229 dbus: Set GObject event loop as default DBus loop
This must be done early in the process life cycle to have any effect. In the
MPRIS frontend code is too late. Right before the GObject loop is created in
RootCommand.run() is also too late.

Fixes mopidy/mopidy-mpris#2
2013-11-20 22:20:54 +01:00
Stein Magnus Jodal
c781d75985 zeroconf: Avahi doesn't support announcing on the loopback interface 2013-11-19 20:52:53 +01:00
Thomas Adamcik
384e5b29b6 Merge pull request #584 from jodal/feature/mpd-regexp-improvements
MPD regexp improvements
2013-11-19 00:24:14 -08:00
Stein Magnus Jodal
7bd6c8d1db mpd: Add TODOs for remaining quote matching 2013-11-19 09:15:46 +01:00
Stein Magnus Jodal
dfa2d14c55 mpd: Register the two playlistid forms explicitly 2013-11-19 09:11:51 +01:00
Stein Magnus Jodal
4a61c7e8ca mpd: Remove redundant ^ anchor in example pattern 2013-11-19 09:09:19 +01:00
Stein Magnus Jodal
ba6e70b30b mpd: Add note about use of re.VERBOSE 2013-11-19 09:07:39 +01:00
Stein Magnus Jodal
6a8ec02ea7 mpd: Sort search fields 2013-11-18 23:21:58 +01:00
Stein Magnus Jodal
064a005ce3 mpd: Ensure quotes are matched 2013-11-18 23:19:53 +01:00
Stein Magnus Jodal
3ff4f0e4fc docs: Improved file/option markup 2013-11-18 22:18:57 +01:00
Stein Magnus Jodal
e6cff216a3 mpd: Reformat list query pattern 2013-11-18 00:56:18 +01:00
Stein Magnus Jodal
c5f64648de mpd: Rename constants 2013-11-18 00:48:58 +01:00
Stein Magnus Jodal
17308e2a26 mpd: Split out common query fields 2013-11-18 00:48:26 +01:00
Stein Magnus Jodal
b0cffb8681 mpd: Move query_from_mpd_search_format into only module using it 2013-11-17 16:00:15 +01:00
Stein Magnus Jodal
25380fbbed mpd: Reformat query regexp 2013-11-17 15:45:57 +01:00
Stein Magnus Jodal
1e1523abb5 mpd: Match just ' ', not any space char 2013-11-17 15:45:31 +01:00