From c52d5c9388fc7d3d86ad78bfc793d780f3ec26a2 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 4 Jun 2011 19:20:53 +0200 Subject: [PATCH] Document mopidy.frontends.mpd.protoocol.mpd_commands as a part of the MPD frontend API --- mopidy/frontends/mpd/protocol/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mopidy/frontends/mpd/protocol/__init__.py b/mopidy/frontends/mpd/protocol/__init__.py index dc6cfb89..f0b56a57 100644 --- a/mopidy/frontends/mpd/protocol/__init__.py +++ b/mopidy/frontends/mpd/protocol/__init__.py @@ -23,7 +23,10 @@ LINE_TERMINATOR = u'\n' VERSION = u'0.16.0' MpdCommand = namedtuple('MpdCommand', ['name', 'auth_required']) + +#: List of all available commands, represented as :class:`MpdCommand` objects. mpd_commands = set() + request_handlers = {} def handle_request(pattern, auth_required=True):