Merge pull request #42 from telnoratti/master

Patch to fix lastfm module arist parsing.
master
mutantmonkey 2012-10-01 18:22:53 -07:00
commit 321e039a62
1 changed files with 5 additions and 1 deletions

View File

@ -114,7 +114,11 @@ def now_playing(phenny, input):
tags[e.tag] = e
track = tags['name'].text.strip()
artist = tags['artist'].text.strip()
artist = ""
for e in tags['artist']:
if e.tag == 'name':
artist = e.text.strip()
album = "unknown"
if tags['album'].text: