If you would instead like to use the latest source code, you can grab a copy
of the development version from git by running the command:
- git clone http://git.thejat.be/python-mpd.git
+ git clone git://git.kaliko.me/python-musicpd.git
Installing from source
To install python-mpd from source, simply run the command:
- python setup.py install
+ python3 setup.py install
You can use the `--help` switch to `setup.py` for a complete list of commands
-and their options. See the http://docs.python.org/inst/inst.html[Installing
+and their options. See the http://docs.python.org/3/install/[Installing
Python Modules] document for more details.
A list of supported commands, their arguments (as MPD currently understands
them), and the functions used to parse their responses can be found in
-`doc/commands.txt`. See
-http://mpd.wikia.com/wiki/MusicPlayerDaemonCommands[MusicPlayerDaemonCommands]
-on the http://mpd.wikia.com/[MPD Wiki] for more details.
+`doc/commands.txt`. See the
+http://www.musicpd.org/doc/protocol/[MPD protocol documentation] for more
+details.
Command lists are also supported using `command_list_ok_begin()` and
`command_list_end()`:
------------------------------------------------------------------------------
client.iterate = True
-for song in client.listallinfo():
+for song in client.playlistinfo():
print song["file"]
------------------------------------------------------------------------------
-Extra care must be taken to exhaust the iterator before executing *any* other
-commands.
+Contacting authors
+------------------
-Contacting the author
----------------------
-
-You can contact the author by emailing J. Alexander Treuman
+You can contact the original author by emailing J. Alexander Treuman
<mailto:jat@spatialrift.net[]>. He can also be found idling in #mpd on
irc.freenode.net as jat.
+
+The current maintainer can be found on xmpp chat room kaliko.me@conf.azylum.org
+or you can contact him by email/xmpp <kaliko@azylum.org>.