screenlets.plugins.mpdclient2

Package screenlets :: Package plugins :: Module mpdclient2 |
[hide private]
[frames] | no frames]

# Module mpdclient2

source code

Classes | [hide private]
| socket_talker
| sender_n_fetcher
| command_sender
| response_fetcher
| dictobj
| mpd_connection

Functions | [hide private]
is_command(cmd) | source code
escape(text) | source code
get_command(cmd, args) | source code
send_command(talker, cmd, args) | source code
parse_host(host) | source code
connect(**kw) | source code

Variables | [hide private]
| ZERO = `0`
| ONE = `1`
| MANY = `2`
| plitem_delim = ``[``'``file``'``,` `'``directory``'``,` `'``playlist``'``]``
| commands = ``{``(``'``add``'``,` 1`)``:` `(``'``%s "%s"``'``,` 0`,` `'````'``,` `[``]``)``,` `(``'``clear``'``,` 0`)``:` `...``
| __package__ = ``'``screenlets.plugins``'``

Variables Details | [hide private]

  ### commands Value:
      {('add', 1): ('%s "%s"', 0, '', []),
       ('clear', 0): ('%s', 0, '', []),
       ('clearerror', 0): ('%s', 0, '', []),
       ('close', 0): ('%s', 0, '', []),
       ('commands', 0): ('%s', 2, 'commands', ['command']),
       ('crossfade', 1): ('%s %d', 0, '', []),
       ('currentsong', 0): ('%s', 1, '', []),
       ('delete', 1): ('%s %d', 0, '', []),
      ...