summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-01-27 04:00:41 +0100
committerRasmus Steinke <rasi@xssn.at>2015-01-27 04:00:41 +0100
commit9b34b32116428bdf74e341490b27efd7dae7d7c5 (patch)
tree5150fe6a4cc9c499939ef6d7a17568572f74d083
parent6eea346b2a6f9aa90a60fcdf88424525f8a91563 (diff)
downloadmppc-9b34b32116428bdf74e341490b27efd7dae7d7c5.tar.gz
mppc-9b34b32116428bdf74e341490b27efd7dae7d7c5.tar.bz2
fix last commit
-rwxr-xr-xmppc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mppc b/mppc
index d8b6b42..e855efa 100755
--- a/mppc
+++ b/mppc
@@ -162,8 +162,8 @@ def trackCache(args):
fh = open(os.getenv('HOME')+'/.config/clerk/tracks.cache', "w")
for artist in artistlist:
try:
- for element in client.find('albumartist', artist):
- fh.write(element['albumartist']+os.getenv('seperator')+element['track']+os.getenv('seperator')+element['title']+os.getenv('seperator')+element['album']+"\n")
+ for element in client.find('artist', artist):
+ fh.write(element['artist']+os.getenv('seperator')+element['track']+os.getenv('seperator')+element['title']+os.getenv('seperator')+element['album']+"\n")
except KeyError:
errors.add(element['file'])
except TypeError: