Commit Graph

31 Commits

Author SHA1 Message Date
Stein Magnus Jodal
eb4bf2e8bf Formatting 2011-09-25 11:30:42 +02:00
Thomas Adamcik
5d025a5721 Compile noidle regexp used for is_noidle check 2011-07-25 00:30:21 +02:00
Thomas Adamcik
2c0f2ab82c Typo fix 2011-07-24 19:48:41 +02:00
Thomas Adamcik
b33e66b0c8 Add comment to idle filter 2011-07-23 14:47:35 +02:00
Thomas Adamcik
63dba5553f Move idle code from dispatcher to protocol.status module 2011-07-23 03:32:45 +02:00
Thomas Adamcik
171137504f Move subscriptions and events into context object 2011-07-23 02:30:13 +02:00
Thomas Adamcik
08d486785d Basic working version of idle command 2011-07-23 02:23:20 +02:00
Thomas Adamcik
8ae0381cd8 Start adding idle to frontend, mpd-session and dispatcher 2011-07-19 03:45:40 +02:00
Thomas Adamcik
094850fe20 Fix reference to mopidy.frontends.mpd.MpdSession 2011-07-04 21:24:09 +02:00
Thomas Adamcik
a1f1160566 e.message is depracted 2011-07-03 23:33:38 +02:00
Stein Magnus Jodal
30afee49c5 Import entire exceptions module to make import list shorter 2011-06-07 01:55:36 +02:00
Stein Magnus Jodal
3ac987ee47 Move definition of what commands are allowed without authentication from the auth filter to the request handlers 2011-06-04 19:16:07 +02:00
Stein Magnus Jodal
601a0f0a45 You are always authenticated when MPD_SERVER_PASSWORD==None 2011-06-04 19:02:20 +02:00
Stein Magnus Jodal
a08885bb95 Use a MpdCommand namedtuple in the mopidy.frontends.mpd.protocol.mpd_commands list 2011-06-04 18:43:30 +02:00
Stein Magnus Jodal
e6294ec869 Fix pylint warnings in MPD frontend 2011-06-04 18:24:06 +02:00
Stein Magnus Jodal
6d1bac0d72 Reorder methods and add comments to divide sections 2011-06-04 17:06:17 +02:00
Stein Magnus Jodal
08f085fd8d Refactor MpdDispatcher to use a filter model, like Java Servlets. Password authentication handling becomes much cleaner. 2011-06-04 02:21:14 +02:00
Stein Magnus Jodal
a68bdae751 Move MPD authentication check from MpdSession to MpdDispatcher 2011-06-04 00:42:51 +02:00
Stein Magnus Jodal
1db84dccca Refactor MpdDispatcher.handle_request 2011-06-04 00:33:57 +02:00
Stein Magnus Jodal
9545da4b4e Refactor MPD dispatcher 2011-06-03 22:37:05 +02:00
Stein Magnus Jodal
52ee117153 Merge branch 'feature/clean-shutdown' into feature/mpd-improvements 2011-06-03 22:35:48 +02:00
Stein Magnus Jodal
82381720e5 Add the current MpdSession to the MpdContext 2011-06-03 17:12:41 +02:00
Stein Magnus Jodal
acde68159a Use @property and memoization to delay backend/mixer proxy creation until it is needed 2011-06-03 17:06:32 +02:00
Stein Magnus Jodal
d57727282e Create new MpdContext object which is passed to command handlers 2011-06-03 16:34:47 +02:00
Stein Magnus Jodal
63918ac3f3 Log a warning if MPD tries to communicate with dead actors. 2011-05-25 21:58:34 +02:00
Stein Magnus Jodal
dad2422a96 MpdDispatcher requires a mixer to be running 2011-03-20 00:10:14 +01:00
Stein Magnus Jodal
49d62aecab Do not give MpdDispatcher an MpdSession object yet, as it is not needed to get current tests passing 2011-03-19 15:55:25 +01:00
Stein Magnus Jodal
d8ea7ea884 Lookup other actors by their known superclasses 2011-03-09 19:30:12 +01:00
Stein Magnus Jodal
a88cf1e2ca Hook an MpdDispatcher directly onto each MpdSession 2011-03-08 21:08:45 +01:00
Stein Magnus Jodal
e984e24168 Fix or ignore more pylint warnings 2010-10-24 23:51:21 +02:00
Stein Magnus Jodal
10c1cab0c7 Reorganize mopidy.frontends.mpd
- Rename .frontend.MpdFrontend to .dispatcher.MpdDispatcher, as it
  dispatches requests.
- Move exceptions into .exceptions.
- Move .server.MpdSession to .session.MpdSession.
- Move handle_pattern to .protocol.handle_pattern.
2010-08-19 23:51:46 +02:00