Stein Magnus Jodal
|
31828883be
|
Add 'stats' daemon uptime support
|
2009-12-26 15:57:53 +01:00 |
|
Stein Magnus Jodal
|
8ffd7e0d87
|
Update logger names to match class names
|
2009-12-26 14:16:24 +01:00 |
|
Stein Magnus Jodal
|
7c2abacd6f
|
Log multi-line responses in a readable way
|
2009-12-26 14:06:41 +01:00 |
|
Stein Magnus Jodal
|
f9ceb70a35
|
Rename get_mpd_version() to get_mpd_protocol_version()
|
2009-12-26 13:26:16 +01:00 |
|
Stein Magnus Jodal
|
c044ecb9d3
|
Catch MpdAckErrors in session too
|
2009-12-26 03:51:34 +01:00 |
|
Stein Magnus Jodal
|
7a96672f0e
|
Return 'ACK Not implemented' instead of 'OK' for unimplemented commands
|
2009-12-26 03:46:54 +01:00 |
|
Stein Magnus Jodal
|
46bc8798f8
|
Move most of handle_response from session to handler
|
2009-12-26 03:20:45 +01:00 |
|
Stein Magnus Jodal
|
814eb98b83
|
Add command_list_ok_begin support, ack exceptions
|
2009-12-26 02:44:32 +01:00 |
|
Stein Magnus Jodal
|
c22fd44760
|
Add support for returning lists of two-tuples since we dont have ordered dicts
|
2009-12-25 22:45:51 +01:00 |
|
Johannes Knutsen
|
7a6ea8736c
|
added command_list_begin and command_list_end support by buffering responses
|
2009-12-25 20:30:33 +01:00 |
|
Stein Magnus Jodal
|
9f3a5a2307
|
Pass terminator to asynchat in same encoding as the data it is applied to
|
2009-12-25 18:24:24 +01:00 |
|
Stein Magnus Jodal
|
256e5e685a
|
Move instantiation of backend from handler to server as the same backend should be used for multiple (simultaneous) sessions
|
2009-12-25 15:54:44 +01:00 |
|
Stein Magnus Jodal
|
9dcb2dcbfa
|
Implement 'kill'
|
2009-12-24 03:10:32 +01:00 |
|
Stein Magnus Jodal
|
2d33a191d5
|
Implement 'close'
|
2009-12-24 02:56:21 +01:00 |
|
Johannes Knutsen
|
51c7769488
|
Removed unused import
|
2009-12-24 00:04:09 +01:00 |
|
Johannes Knutsen
|
4815a82c79
|
Added backend as constructor parameter to MpdHandler with dummy as default
|
2009-12-24 00:03:37 +01:00 |
|
Johannes Knutsen
|
605838fca9
|
Added dummy backend
|
2009-12-23 23:58:13 +01:00 |
|
Stein Magnus Jodal
|
f0afb45394
|
Add support for returning dicts from handlers
|
2009-12-23 23:24:00 +01:00 |
|
Stein Magnus Jodal
|
2af784f79a
|
gmpc seems to expect a MPD protocol version in the welcome message
|
2009-12-23 21:02:15 +01:00 |
|
Stein Magnus Jodal
|
15b5968d5c
|
Add empty handler methods for enough MPD commands to get Sonata to 'connected' mode
|
2009-12-23 20:58:05 +01:00 |
|
Stein Magnus Jodal
|
ecd5e686f6
|
Handle encoding at the borders and only use unicode objects internally
|
2009-12-23 20:19:10 +01:00 |
|
Stein Magnus Jodal
|
4605a9e8c9
|
Identify oneself as a MPD server to connecting clients
|
2009-12-23 20:02:07 +01:00 |
|
Stein Magnus Jodal
|
0d5eab31ea
|
Add asyncore connection dispatcher and asynchat session handler
|
2009-12-23 19:42:18 +01:00 |
|