Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Commit

Permalink
zeyaclient.py: handle new /getlibrary format.
Browse files Browse the repository at this point in the history
  • Loading branch information
psung committed Sep 21, 2010
1 parent b1f4186 commit 9c57d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zeyaclient.py
Expand Up @@ -80,7 +80,7 @@ def run(server_path):
except urllib2.URLError, e:
print "Error: %s" % (e.reason,)
sys.exit(1)
library_data = json.loads(library_file.read())
library_data = json.loads(library_file.read())['library']
print "Loaded %d songs from library." % (len(library_data),)
print 'You can issue queries like: "Beatles" or "help, the beatles"'
while True:
Expand Down

0 comments on commit 9c57d69

Please sign in to comment.