X-Git-Url: http://git.kaliko.me/?p=python-musicpd.git;a=blobdiff_plain;f=README.txt;h=9cf4173ecaad78862df6325a98d7c1566b30c841;hp=3b3fa5fbf02f251b2fac791cc1e31817f7cebe43;hb=129580789b889e62a473b5ebe4ffd3a3d3423848;hpb=31862f7b50f32589826f7c606e7962931e7fdd8e diff --git a/README.txt b/README.txt index 3b3fa5f..9cf4173 100644 --- a/README.txt +++ b/README.txt @@ -14,7 +14,7 @@ Getting the latest source code 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://jatreuman.indefero.net/jatreuman/python-mpd.git Installing from source @@ -45,9 +45,9 @@ client.disconnect() # disconnect from the server 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()`: @@ -64,13 +64,10 @@ Commands may also return iterators instead of lists if `iterate` is set to ------------------------------------------------------------------------------ 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 the author ---------------------