From: J. Alexander Treuman Date: Thu, 15 Jul 2010 18:44:45 +0000 (-0400) Subject: README.txt: give an example that actually works X-Git-Tag: v0.3.0~25 X-Git-Url: https://git.kaliko.me/?p=python-musicpd.git;a=commitdiff_plain;h=234f05d87439af7651f09b6ebdba84f7f0dc2a1c README.txt: give an example that actually works --- diff --git a/README.txt b/README.txt index 3b3fa5f..4bd8f8a 100644 --- a/README.txt +++ b/README.txt @@ -64,7 +64,7 @@ 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"] ------------------------------------------------------------------------------