1. Play a song in Exaile. Wait until it finishes playing.
2. Fire up another player, eg. Rythmbox, and play a song. Wait until it stops.
3. Close Rythmbox and play another song in Exaile.
Some of the output is unrelated to the scrobbler.
You'll see it scrobbles well the first song, but not the second. Also notice that it sent info from my previous session. (Songs that didn't get scrobbled last time). I replaced my username and a couple of md5sums I found in the output for privacy reasons.
INFO : Playing file:///home/pablo/Musica/FILE.ogg
/usr/lib64/python2.6/urllib.py:1223: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
res = map(safe_map.__getitem__, s)
Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/share/exaile/plugins/lyricsviewer/__init__.py", line 99, in get_lyrics
lyr, source, url = self.exaile.lyrics.find_lyrics(track)
File "/usr/lib/python2.6/site-packages/exaile/xl/lyrics.py", line 161, in find_lyrics
(lyrics, source, url) = method.find_lyrics(track)
File "/usr/share/exaile/plugins/lyricwiki/__init__.py", line 45, in find_lyrics
artist = urllib.quote(artist.replace(' ','_'))
File "/usr/lib64/python2.6/urllib.py", line 1223, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\xe1'
INFO : Attempting to submit "Now Playing" information to AudioScrobbler...
INFO : Submitted "Now Playing" successfully to AudioScrobbler
Exception in thread Thread-11:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/share/exaile/plugins/lyricsviewer/__init__.py", line 99, in get_lyrics
lyr, source, url = self.exaile.lyrics.find_lyrics(track)
File "/usr/lib/python2.6/site-packages/exaile/xl/lyrics.py", line 161, in find_lyrics
(lyrics, source, url) = method.find_lyrics(track)
File "/usr/share/exaile/plugins/lyricwiki/__init__.py", line 45, in find_lyrics
artist = urllib.quote(artist.replace(' ','_'))
File "/usr/lib64/python2.6/urllib.py", line 1223, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\xe1'
INFO : AudioScrobbler OK: o%5B1%5D=P&o%5B3%5D=P&b%5B0%5D=The+Only+Thing+I+Ever+Wanted&a%5B0%5D=Psapp&l%5B2%5D=159&b%5B2%5D=Kill+Bill%3A+Vol.+1&a%5B2%5D=Nancy+Sinatra&n%5B3%5D=2&r%5B0%5D=&l%5B0%5D=328&n%5B1%5D=2&r%5B3%5D=&i%5B0%5D=1275254109&m%5B2%5D=&t%5B2%5D=Bang+Bang+%28My+Baby+Shot+Me+Down%29&i%5B2%5D=1275254676&m%5B0%5D=&t%5B0%5D=Hill+of+Our+Home&a%5B3%5D=Fito+P%C3%A1ez&o%5B2%5D=P&b%5B1%5D=Circo+Beat&o%5B0%5D=P&n%5B0%5D=7&a%5B1%5D=Fito+P%C3%A1ez&l%5B3%5D=223&b%5B3%5D=Circo+Beat&n%5B2%5D=1&r%5B1%5D=&l%5B1%5D=223&i%5B3%5D=1275255802&r%5B2%5D=&i%5B1%5D=1275254451&t%5B3%5D=Mariposa+tecknicolor&m%5B3%5D=&s=MD5SUM&t%5B1%5D=Mariposa+tecknicolor&m%5B1%5D=
INFO : Playing file:///home/pablo/Musica/FILE.mp3
INFO : Attempting to submit "Now Playing" information to AudioScrobbler...
Exception in thread Thread-13:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/share/exaile/plugins/audioscrobbler/__init__.py", line 189, in now_playing
track.split_numerical(track.get_tag_raw('tracknumber'))[0] or 0
File "/usr/share/exaile/plugins/audioscrobbler/_scrobbler.py", line 182, in now_playing
login(__LOGIN['u'], __LOGIN['p'], client=__LOGIN['c'])
File "/usr/share/exaile/plugins/audioscrobbler/_scrobbler.py", line 88, in login
response = urllib2.urlopen(req)
File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 381, in open
protocol = req.get_type()
File "/usr/lib64/python2.6/urllib2.py", line 242, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: post.audioscrobbler.com?a=MD5SUM&c=exa&hs=true&p=1.2&u=USERNAME&t=1275256309&v=0.3.0
This is what I got. Steps to reproduce:
1. Play a song in Exaile. Wait until it finishes playing.
2. Fire up another player, eg. Rythmbox, and play a song. Wait until it stops.
3. Close Rythmbox and play another song in Exaile.
Some of the output is unrelated to the scrobbler.
You'll see it scrobbles well the first song, but not the second. Also notice that it sent info from my previous session. (Songs that didn't get scrobbled last time). I replaced my username and a couple of md5sums I found in the output for privacy reasons.
INFO : Playing file:// /home/pablo/ Musica/ FILE.ogg python2. 6/urllib. py:1223: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal map.__getitem_ _, s) python2. 6/threading. py", line 525, in __bootstrap_inner python2. 6/threading. py", line 477, in run __target( *self._ _args, **self.__kwargs) exaile/ plugins/ lyricsviewer/ __init_ _.py", line 99, in get_lyrics lyrics. find_lyrics( track) python2. 6/site- packages/ exaile/ xl/lyrics. py", line 161, in find_lyrics find_lyrics( track) exaile/ plugins/ lyricwiki/ __init_ _.py", line 45, in find_lyrics quote(artist. replace( ' ','_')) python2. 6/urllib. py", line 1223, in quote map.__getitem_ _, s)
/usr/lib64/
res = map(safe_
Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/usr/share/
lyr, source, url = self.exaile.
File "/usr/lib/
(lyrics, source, url) = method.
File "/usr/share/
artist = urllib.
File "/usr/lib64/
res = map(safe_
KeyError: u'\xe1'
INFO : Attempting to submit "Now Playing" information to AudioScrobbler... python2. 6/threading. py", line 525, in __bootstrap_inner python2. 6/threading. py", line 477, in run __target( *self._ _args, **self.__kwargs) exaile/ plugins/ lyricsviewer/ __init_ _.py", line 99, in get_lyrics lyrics. find_lyrics( track) python2. 6/site- packages/ exaile/ xl/lyrics. py", line 161, in find_lyrics find_lyrics( track) exaile/ plugins/ lyricwiki/ __init_ _.py", line 45, in find_lyrics quote(artist. replace( ' ','_')) python2. 6/urllib. py", line 1223, in quote map.__getitem_ _, s)
INFO : Submitted "Now Playing" successfully to AudioScrobbler
Exception in thread Thread-11:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/usr/share/
lyr, source, url = self.exaile.
File "/usr/lib/
(lyrics, source, url) = method.
File "/usr/share/
artist = urllib.
File "/usr/lib64/
res = map(safe_
KeyError: u'\xe1'
INFO : AudioScrobbler OK: o%5B1%5D= P&o%5B3% 5D=P&b% 5B0%5D= The+Only+ Thing+I+ Ever+Wanted& a%5B0%5D= Psapp&l% 5B2%5D= 159&b%5B2% 5D=Kill+ Bill%3A+ Vol.+1& a%5B2%5D= Nancy+Sinatra& n%5B3%5D= 2&r%5B0% 5D=&l%5B0% 5D=328& n%5B1%5D= 2&r%5B3% 5D=&i%5B0% 5D=1275254109& m%5B2%5D= &t%5B2% 5D=Bang+ Bang+%28My+ Baby+Shot+ Me+Down% 29&i%5B2% 5D=1275254676& m%5B0%5D= &t%5B0% 5D=Hill+ of+Our+ Home&a% 5B3%5D= Fito+P% C3%A1ez& o%5B2%5D= P&b%5B1% 5D=Circo+ Beat&o% 5B0%5D= P&n%5B0% 5D=7&a% 5B1%5D= Fito+P% C3%A1ez& l%5B3%5D= 223&b%5B3% 5D=Circo+ Beat&n% 5B2%5D= 1&r%5B1% 5D=&l%5B1% 5D=223& i%5B3%5D= 1275255802& r%5B2%5D= &i%5B1% 5D=1275254451& t%5B3%5D= Mariposa+ tecknicolor& m%5B3%5D= &s=MD5SUM& t%5B1%5D= Mariposa+ tecknicolor& m%5B1%5D= /home/pablo/ Musica/ FILE.mp3 python2. 6/threading. py", line 525, in __bootstrap_inner python2. 6/threading. py", line 477, in run __target( *self._ _args, **self.__kwargs) exaile/ plugins/ audioscrobbler/ __init_ _.py", line 189, in now_playing split_numerical (track. get_tag_ raw('tracknumbe r'))[0] or 0 exaile/ plugins/ audioscrobbler/ _scrobbler. py", line 182, in now_playing __LOGIN[ 'u'], __LOGIN['p'], client= __LOGIN[ 'c']) exaile/ plugins/ audioscrobbler/ _scrobbler. py", line 88, in login urlopen( req) python2. 6/urllib2. py", line 124, in urlopen python2. 6/urllib2. py", line 381, in open python2. 6/urllib2. py", line 242, in get_type bler.com? a=MD5SUM& c=exa&hs= true&p= 1.2&u=USERNAME& t=1275256309& v=0.3.0
INFO : Playing file://
INFO : Attempting to submit "Now Playing" information to AudioScrobbler...
Exception in thread Thread-13:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/usr/share/
track.
File "/usr/share/
login(
File "/usr/share/
response = urllib2.
File "/usr/lib64/
return _opener.open(url, data, timeout)
File "/usr/lib64/
protocol = req.get_type()
File "/usr/lib64/
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: post.audioscrob