Commit Graph

5894 Commits

Author SHA1 Message Date
Thomas Adamcik
541412dbfc mpd: Remove newline escaping code.
This was added for #881, where the correct fix turned out to be to remove
comments from the responses. We should still add some sanity checks for
verifying that our responses at the very least only contain printable chars.
2014-12-14 14:35:13 +01:00
Thomas Adamcik
08a8d5c43b mpd: Remove "Comment" tag type from translator output.
Newer versions of the protocol have removed this tag, so we should as well.
This also works around the issue of #881 which was breaking things with
newlines in comment fields.

The readcomments command seems to replace this, but it seems to only care about
specific extra tagtypes, not the general comment tag we normally collect when
scanning things.
2014-12-14 14:16:37 +01:00
Thomas Adamcik
2c3217685b utils: Switch to exceptions.FindError for errors. 2014-12-14 14:08:45 +01:00
Thomas Adamcik
5015a7ff28 docs: Update authors and changelog 2014-12-14 13:37:13 +01:00
Thomas Adamcik
f99028ce41 Merge pull request #882 from lukasvogel/develop
Escape newline characters when dispatching data
2014-12-14 13:19:21 +01:00
Thomas Adamcik
1404f379ca Merge pull request #904 from tamland/tag_refresh
local: fix modified files not being updated
2014-12-14 13:17:09 +01:00
Thomas Adamcik
2be42b0848 Merge pull request #906 from jodal/feature/mpd-browse-empty-dir
mpd: Enable browsing of empty dirs
2014-12-14 13:14:21 +01:00
Stein Magnus Jodal
4e508cd017 mpd: Enable browsing of empty dirs
This was disabled together with a bunch of other changes without any
explanation in commit f24ca36e5a. I'm
guessing that this wasn't intentional, and no test covered the case.
2014-12-13 01:27:14 +01:00
Stein Magnus Jodal
33e3fe9173 mpd: Add browse() helper docs 2014-12-13 01:26:36 +01:00
Stein Magnus Jodal
be341fcd04 docs: Fix references 2014-12-12 22:45:02 +01:00
Thomas Amland
dfd897832a [local] fix modified files not being updated 2014-12-11 14:41:37 +01:00
Stein Magnus Jodal
7d5117c299 tox: Update tornado dep 2014-12-07 23:36:14 +01:00
Stein Magnus Jodal
88592ee17b Merge pull request #901 from jodal/feature/python3-compat
Python 3 compatibility
2014-12-07 21:52:47 +01:00
Stein Magnus Jodal
7acf62723a py3: Use itervalues() for local track database 2014-12-07 21:44:39 +01:00
Stein Magnus Jodal
4f428b8601 py3: Move compat module out of utils 2014-12-07 21:36:15 +01:00
Stein Magnus Jodal
57cdab586a Fix flake8 warnings 2014-12-07 20:39:39 +01:00
Stein Magnus Jodal
7a1bb224f7 py3: Avoid indexing exception objects
It doesn't work on Python 3.
2014-12-07 20:26:09 +01:00
Stein Magnus Jodal
e35a066d5e py3: Use explicit float or integer division 2014-12-07 20:25:51 +01:00
Stein Magnus Jodal
7124226fc7 py3: Use renamed function via compat 2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
01c7f12976 py3: Import moved modules via compat 2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
95df66865e py3: Use list comprehensions instead of filter()
This is just a stylistic change, and is not strictly required for Python 3
compat.
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
1d26c2d63c py3: Use .item() and .values()
As .iteritem() and .itervalues() doesn't exist in Python 3.
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
58527406c1 py3: Use compat.text_type instead of unicode 2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
b9a5192d5f py3: Add Python 2/3 compat module
Keep all the hacks in a single place. This looks like all we need, so no need
to depend on six.
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
98ca748996 py3: Use print function instead of print statement 2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
496142c201 py3: Use absolute imports by default 2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
e18fd7d507 Merge branch 'release/v0.19.x' into develop 2014-11-26 23:53:31 +01:00
Stein Magnus Jodal
1220889c2f Merge branch 'master' into release/v0.19.x 2014-11-26 23:53:20 +01:00
Stein Magnus Jodal
676206dea9 docs: Add Mopidy-Webhooks extension 2014-11-26 23:14:21 +01:00
Stein Magnus Jodal
e4e4857f56 docs: Add Mopidy-WebSettings extension 2014-11-26 23:12:05 +01:00
Stein Magnus Jodal
2e16975b47 docs: Add Mopidy-TtsGpio extension 2014-11-26 23:09:55 +01:00
Stein Magnus Jodal
ed5ae037a5 docs: Add Mopidy-Simple-Webclient extension 2014-11-26 23:07:49 +01:00
Stein Magnus Jodal
833bd02f61 docs: Add Mopidy-OE1 extension 2014-11-26 22:40:57 +01:00
Stein Magnus Jodal
a21e12b274 docs: Add Mopidy-Local-SQLite extension 2014-11-26 22:37:40 +01:00
Stein Magnus Jodal
d34f1a3bee docs: Add Mopidy-EvtDev extension 2014-11-26 22:34:49 +01:00
Stein Magnus Jodal
21d9a3abe4 docs: Add Mopidy-AudioAddict extension 2014-11-26 22:34:46 +01:00
Stein Magnus Jodal
9f7e518397 docs: Move Mopify to the pip-installable list 2014-11-26 21:56:39 +01:00
Stein Magnus Jodal
ca8ecaffe6 docs: Only list web clients on the web extension page 2014-11-26 21:56:24 +01:00
Stein Magnus Jodal
04b09da498 docs: Don't refer to the tracklist as a playlist
(cherry picked from commit 4a6e7d292c)
2014-11-25 21:38:54 +01:00
Stein Magnus Jodal
4a6e7d292c docs: Don't refer to the tracklist as a playlist 2014-11-25 21:37:55 +01:00
Stein Magnus Jodal
cfc644448a docs: Update changelog 2014-11-05 09:30:19 +01:00
Stein Magnus Jodal
5fd00b4e7d Merge pull request #884 from tkem/feature/mpd-browse-all-ref-types
Make everything that is not a Track browseable via MPD
2014-11-05 09:28:01 +01:00
Stein Magnus Jodal
264070fab2 Merge branch 'release/v0.19.x' into develop 2014-11-04 21:28:25 +01:00
Stein Magnus Jodal
c070c1c0b5 docs: Update changelog 2014-11-04 21:27:59 +01:00
Stein Magnus Jodal
680dbffc0c models: Make all fields default to None or empty collection
(cherry picked from commit abed15b9e4)
2014-11-04 21:27:29 +01:00
Stein Magnus Jodal
b6ea9d0532 Merge branch 'release/v0.19.x' into develop
Conflicts:
	docs/changelog.rst
	tests/test_models.py
2014-11-04 20:21:10 +01:00
Stein Magnus Jodal
a4b17a9aa8 models: Fix equality for fields set to the default
Fixes #837

(cherry picked from commit bdd1fb983b)
2014-11-04 20:17:20 +01:00
Stein Magnus Jodal
88d64044de models: Hide empty lists from repr()
(cherry picked from commit 305a76486d)

Conflicts:
	docs/changelog.rst
2014-11-04 20:17:13 +01:00
Thomas Kemmer
63277c4db3 Add unit tests for artist browsing 2014-11-04 19:22:45 +01:00
Thomas Kemmer
1c5b07a374 Make everything that is not a Track browseable 2014-10-24 12:47:58 +02:00