BramBonne / LastfmPlaycount

Import the playcount of your currently playing track from Last.fm into Rhythmbox
19 stars 5 forks source link

batch update stops at a point #3

Closed aleprovencio closed 12 years ago

aleprovencio commented 12 years ago

Tried to run this 2 times against my library. It goes ok but after a while it returns this is error:

(12:09:29) [0x7faa98113ae0] [LastfmPlaycountPlugin.update_entry] .local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:244: Setting playcount of "The John Butler Trio - Used to Get High" to 4 Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 505, in run self.__target(_self.args, *_self.__kwargs) File "/home/xand/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py", line 95, in _update_all_unthreaded self.update_entry(self.db.entry_lookup_by_id(id)) File "/home/xand/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py", line 126, in update_entry playcount, lovedtrack = self.get_lastfm_info(artist, title) File "/home/xand/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py", line 144, in get_lastfm_info response = minidom.parse(urlopen("http://ws.audioscrobbler.com/2.0/?%s" % params)) File "/usr/lib/python2.7/urllib.py", line 84, in urlopen return opener.open(url) File "/usr/lib/python2.7/urllib.py", line 205, in open return getattr(self, name)(url) File "/usr/lib/python2.7/urllib.py", line 349, in open_http 'got a bad status line', None) IOError: ('http protocol error', 0, 'got a bad status line', None)

BramBonne commented 12 years ago

This problem should be resolved in the latest version. Could you try that one? I'm closing this issue. If it's still a problem for you after trying the latest version, feel free to reopen it.

CLloyd24 commented 12 years ago

Is there a way to track the progress of the batch update or at least figure out in which order its running? I updated my 9000 song library and it went through a lot of my songs but I'm not sure if it completed or not.