Listen unusable after connection to last.fm failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Listen |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to connect to a last.fm station. Listen said: "Connected, Station found" but did not play any music.
Now I was unable to change to a different track, because the change operation tried to delete the "#stream_offset" key. Here is the traceback:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
Player.
File "/usr/lib/
self.
File "/usr/lib/
LastFmPlaye
File "/usr/lib/
ListenDB.
File "/usr/lib/
for key in keys: del song[key]
KeyError: '#stream_offset'
I patched the file
/usr/lib/
to
493 def del_property(self, song, keys):
494 if not song: return False
495 self._dirty = True
496 type = song.get_type()
497 old_keys_values = {}
498 [ old_keys_
499 for key in keys:
500 if key in song.keys():
501 del song[key]
502 song.sanitarize()
503 self.__
504 self.__
505 self.__
506 self.__
and now I can change the songs again, but last.fm still is not working.
best regards,
Brian