Commit Graph

47 Commits

Author SHA1 Message Date
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
3f41fc8df7 Add 'urlhandler' command 2009-12-25 15:37:25 +01:00
Stein Magnus Jodal
5c64a39ad4 Add empty handlers for music database commands 2009-12-25 15:24:47 +01:00
Johannes Knutsen
f15967bcf3 added double-quotes on playlistinfo argument 2009-12-25 14:43:52 +01:00
Stein Magnus Jodal
3a4956cf43 Fix missing test coverage 2009-12-25 13:58:27 +01:00
Stein Magnus Jodal
f42c253d14 Unicode dammit 2009-12-24 14:28:57 +01:00
Stein Magnus Jodal
88a9a30162 Update spytify instructions 2009-12-24 13:25:18 +01:00
Stein Magnus Jodal
e22194284d Rename some backend methods 2009-12-24 04:11:09 +01:00
Stein Magnus Jodal
8b29170c9b Unbreak tests. Update some message formats to match Sonata. 2009-12-24 03:40:33 +01:00
Johannes Knutsen
b434fe3551 Merge branch 'master' of git@github.com:jodal/mopidy 2009-12-24 03:18:46 +01:00
Johannes Knutsen
455b920f93 added some more spotify commands and merged session and handler code 2009-12-24 03:18:38 +01:00
Stein Magnus Jodal
6ee09cb7b7 Handle empty requests like old MPD 2009-12-24 03:15:39 +01:00
Stein Magnus Jodal
9dcb2dcbfa Implement 'kill' 2009-12-24 03:10:32 +01:00
Stein Magnus Jodal
d4399b43de Fix broken test 2009-12-24 02:57:44 +01:00
Johannes Knutsen
97cd65ca33 added local_settings.py to gitignore 2009-12-24 02:57:37 +01:00
Johannes Knutsen
349246b961 Added initial spotify backend which lists playlists 2009-12-24 02:57:16 +01:00
Stein Magnus Jodal
2d33a191d5 Implement 'close' 2009-12-24 02:56:21 +01:00
Stein Magnus Jodal
4f438a0738 Add empty handlers for connection handling 2009-12-24 02:43:13 +01:00
Stein Magnus Jodal
8ddb3554ba Add empty handlers for handling of the saved playlists 2009-12-24 02:33:15 +01:00
Stein Magnus Jodal
ec048bdd99 Add empty handlers for handling of the current playlist 2009-12-24 02:13:13 +01:00
Stein Magnus Jodal
9e46ab48da Add empty handlers for the majority of the MPD protocol 2009-12-24 01:13:40 +01:00
Johannes Knutsen
a00f9d9834 Split statuses in to separate methods in the backend 2009-12-24 00:26:46 +01:00
Johannes Knutsen
df2381815c moved instantiation of DummyBackend 2009-12-24 00:11:41 +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
Johannes Knutsen
e523bec7f9 Added initial backend methods and updated handler to call the backend 2009-12-23 23:53:00 +01:00
johannes
18eaeb0d64 Merge branch 'master' of git@github.com:jodal/mopidy 2009-12-23 23:26:58 +01:00
johannes
68dcb24ee9 added backend module and dummy base backend class 2009-12-23 23:26:44 +01:00
Stein Magnus Jodal
f0afb45394 Add support for returning dicts from handlers 2009-12-23 23:24:00 +01:00
Stein Magnus Jodal
80f900134b Test mopidy.handler 2009-12-23 23:06:16 +01:00
Stein Magnus Jodal
7fa3d5a509 Update how to install test dependencies 2009-12-23 22:51:07 +01:00
Stein Magnus Jodal
47d0949666 Add framework for testing 2009-12-23 22:15:53 +01:00
Stein Magnus Jodal
69cee7bd08 Use a decorator to register the request handlers 2009-12-23 21:36:09 +01:00
Stein Magnus Jodal
8c7c2a65c9 Add logger name to log output 2009-12-23 21:02:51 +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
Stein Magnus Jodal
9bfb9c3511 Add instructions for installing despotify and spytify 2009-12-23 18:29:46 +01:00
Stein Magnus Jodal
8834e2b074 Add project goal 2009-12-23 16:25:07 +01:00
Stein Magnus Jodal
3e23ddc582 More GitHub RST tweaking 2009-12-23 15:53:13 +01:00
Stein Magnus Jodal
e84744e1db Keep RST links on a single line to please GitHub 2009-12-23 15:46:41 +01:00
Stein Magnus Jodal
ed336b9cf6 Add GPLv2 license, same as the original MPD server 2009-12-23 15:45:22 +01:00
Stein Magnus Jodal
250fec104c Add some resource links 2009-12-23 15:44:42 +01:00
Stein Magnus Jodal
7b41a192d7 First commit 2009-12-23 15:26:50 +01:00