]> kaliko git repositories - python-musicpd.git/commitdiff
README.txt: give an example that actually works
authorJ. Alexander Treuman <jat@spatialrift.net>
Thu, 15 Jul 2010 18:44:45 +0000 (14:44 -0400)
committerJ. Alexander Treuman <jat@spatialrift.net>
Thu, 15 Jul 2010 18:44:45 +0000 (14:44 -0400)
README.txt

index 3b3fa5fbf02f251b2fac791cc1e31817f7cebe43..4bd8f8a4295bb714e3af2358e11f69a568bab887 100644 (file)
@@ -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"]
 ------------------------------------------------------------------------------