


AmarokPidgin
Amarok 1.x Scripts by keegancsmith 150 comments
Hi, I got some mp3 with japanese artist name and when playing them amarokpidgin was crashing with this message:
File "/home/shad/.kde/share/apps/amarok/scripts/amarokpidgin/AmarokPidgin.py", line 76, in __getitem__
return str(self.player.GetMetadata().get(key, ''))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
I have to add ".encode('utf-8')" to the
return str(self.player.GetMetadata().get(key, '')) code to make it working again - Dec 12 2011
File "/home/shad/.kde/share/apps/amarok/scripts/amarokpidgin/AmarokPidgin.py", line 76, in __getitem__
return str(self.player.GetMetadata().get(key, ''))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
I have to add ".encode('utf-8')" to the
return str(self.player.GetMetadata().get(key, '')) code to make it working again - Dec 12 2011