Commit Graph

5140 Commits

Author SHA1 Message Date
Thomas Adamcik
f24ca36e5a mpd: Switch browse commands to common helper 2014-01-25 00:42:32 +01:00
Thomas Adamcik
3cec929bd7 Merge branch 'develop' into feature/mpd-tokenized-requests
Conflicts:
	mopidy/mpd/protocol/music_db.py
	tests/mpd/protocol/test_music_db.py
2014-01-24 19:38:56 +01:00
Thomas Adamcik
981c4e4b81 docs: Update changelog and authors 2014-01-24 19:35:26 +01:00
Thomas Adamcik
da724e6b77 Merge remote-tracking branch 'UncommonGoods/develop' into develop 2014-01-24 19:31:25 +01:00
Thomas Adamcik
9cef7208c9 docs: Update changelog and author for windows fixes 2014-01-24 19:18:33 +01:00
Thomas Adamcik
4453df7594 network: Check for windows platform match 2014-01-24 19:18:30 +01:00
Thomas Adamcik
246e8e3ef8 Merge remote-tracking branch 'abarisain/window' into develop 2014-01-24 19:18:20 +01:00
Thomas Adamcik
e304b7fc2b mpd: Use mopidy.mpd.exceptions in commands 2014-01-24 01:12:26 +01:00
Thomas Adamcik
b3a273110c mpd: Remove unused exception type 2014-01-24 00:48:16 +01:00
Thomas Adamcik
86f5602023 mpd: Remove old command handlers 2014-01-24 00:35:10 +01:00
Thomas Adamcik
dc8d311bc3 mpd: Complete music db conversion with list 2014-01-24 00:23:05 +01:00
Thomas Adamcik
68aa0b556c mpd: Convert search functions in music db 2014-01-23 23:58:42 +01:00
Stein Magnus Jodal
d5645b2899 Release v0.18.1 2014-01-23 23:25:40 +01:00
Thomas Adamcik
4c57184f43 mpd: Convert non-search bits of music db 2014-01-23 23:22:38 +01:00
Stein Magnus Jodal
f6de8c4c29 docs: Update changelog for v0.18.1 2014-01-23 23:21:35 +01:00
Stein Magnus Jodal
bf9499131a Bump version number to 0.18.1 2014-01-23 23:19:51 +01:00
Thomas Adamcik
8f8bed5b87 mpd: Implement playlistinfo from current playlist 2014-01-23 23:12:25 +01:00
Stein Magnus Jodal
b4f17d692e docs: Update changelog 2014-01-23 22:53:10 +01:00
Stein Magnus Jodal
7d2906d58d log: Make other logging work when logging/config_file is in use 2014-01-23 22:49:41 +01:00
Stein Magnus Jodal
06640f1f0c log: Use custom filter to implement verbosity levels
...instead of hooking handlers onto multiple loggers with disabled propagation
from those loggers to parent loggers, breaking alternative log methods, like
custom setups through the the logging/config_file config value.

Fixes #661
2014-01-23 22:49:41 +01:00
Thomas Adamcik
45a0a9233c mpd: Convert reflection and mark non listed commands 2014-01-23 22:38:47 +01:00
Stein Magnus Jodal
bb66cd1065 log: Don't filter anything at all on the root logger itself 2014-01-23 22:34:23 +01:00
Thomas Adamcik
01a62d3ada mpd: Convert command lists and stored playlists 2014-01-23 22:28:53 +01:00
Thomas Adamcik
047ed40ccc mpd: Stop string escaping all input as we have a proper tokenizer 2014-01-23 22:28:37 +01:00
Thomas Adamcik
a2ae51ff65 mpd: Update auth filter and convert audio_output and connection 2014-01-23 22:02:23 +01:00
Thomas Adamcik
1dc35c2bf7 mpd: Convert channels and stickers and delete empty. 2014-01-23 21:41:06 +01:00
Thomas Adamcik
fddb299ed9 mpd: Update type converters naming and add UINT
Also adds tests for RANGE helper.
2014-01-23 21:31:18 +01:00
Thomas Adamcik
442d9d4b1e mpd: Convert almost all of protocol.current_playlist 2014-01-23 00:40:46 +01:00
Thomas Adamcik
e7017f3ccb mpd: Add protocol.position_or_range converter 2014-01-23 00:40:18 +01:00
Thomas Adamcik
b9b5a78938 mpd: Convert protocol.playback 2014-01-22 23:58:44 +01:00
Thomas Adamcik
538e46e0e7 mpd: Convert protocol.status to new helper 2014-01-22 23:27:49 +01:00
Thomas Adamcik
9df2eebfe2 mpd: Upate command reflection to handle new commands helper 2014-01-22 23:27:49 +01:00
Thomas Adamcik
55a46c31d7 mpd: Cleanup imports in reflection 2014-01-22 23:27:49 +01:00
Thomas Adamcik
eb85f92d96 mpd: Store auth required and if command should be listed 2014-01-22 23:27:25 +01:00
Thomas Adamcik
d3db5c4fe1 mpd: Install new commands helpers in _call_handler
This means we now tokenize every request, and then try in call the appropriate
handler. If none is found we simply fall back to the old handlers.
2014-01-22 22:44:40 +01:00
nathanharper
3a184f9ddd decouple mpd.protocol module from config structure
removed reference to password from protocol,
moved it to Context class.
2014-01-22 05:16:38 -05:00
nathanharper
039fc4b681 refactored mpd.protocol.music_db regex
got quote backreference working,
eliminated need for the non-capturing pattern,
fixed problem with quoted fields.
2014-01-22 05:16:38 -05:00
Thomas Adamcik
066fed1522 mpd: Update tokenizer to use mopidy.mpd.exceptions 2014-01-22 00:10:30 +01:00
Thomas Adamcik
756cf1518b mpd: Add last missing error cases for tokenizer.
If we decide that exact error message parity is not needed these can and should
be removed as they complicate the tokenizer.
2014-01-21 23:20:24 +01:00
Thomas Adamcik
f7ec1fba01 mpd: Fix tokenizer error messages to match original protocol 2014-01-21 22:10:00 +01:00
Thomas Adamcik
f7aff706a8 mpd: Move commands tests to mpd directory 2014-01-21 21:14:30 +01:00
Thomas Adamcik
d445740318 mpd: Split out tokenizer and add proper errors. 2014-01-21 21:10:55 +01:00
Thomas Adamcik
335cf4e612 mpd: Return command name in find handler. 2014-01-21 20:40:49 +01:00
Stein Magnus Jodal
7ce38de351 ext: Disable extension if a dependency isn't of the correct version
Fixes #657
2014-01-21 14:48:43 +01:00
Thomas Adamcik
3c0cc1564c local: Make browse test check ordering again 2014-01-20 23:22:15 +01:00
Stein Magnus Jodal
4c7b6ccfc4 docs: Remove broken link 2014-01-20 22:05:21 +01:00
Arnaud Barisain-Monrose
9b1b6943a8 Fix flake8's whitespace error 2014-01-19 23:57:58 +01:00
Arnaud Barisain-Monrose
fe3c27cf18 Add windows workaround for IPv6 sockets to also listen on IPv4 2014-01-19 23:05:00 +01:00
Arnaud Barisain-Monrose
81825dfa0d Do not listen for SIGUSR1 since Windows does not have it 2014-01-19 23:04:43 +01:00
Stein Magnus Jodal
809e48b5dc Release v0.18.0 2014-01-19 22:30:08 +01:00