mirage_miximize fails to enqueue songs that have unicode characters in their filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autoqueue |
Fix Committed
|
Medium
|
Eric Casteleijn |
Bug Description
Hi Eric,
While miximizing a set (~90) of songs it came to attention that the plugin would fail to enqueue songs with Unicode characters in their filenames. Quod Libet would throw this error:
=== SYSTEM INFORMATION:
Quod Libet 2.3.1.-1
Mutagen 1.20.-1
Python 2.7.2+ (default, Aug 16 2011, 07:29:45)
[GCC 4.6.1] linux2
=== STACK TRACE
Traceback (most recent call last):
File "/usr/lib/
reply_
File "/home/
(self.
File "/usr/lib/
for song in songs:
File "/home/
(self.
KeyError: dbus.String(
The attached small patch solved the problem for me, yet I'm not sure if it's the best solution.
BTW, thank you for this plugin, I find it really useful!
Naglis
Hi Naglis,
thanks very much for your bug report! I hopefully fixed the issue, though in a slightly different way (avoiding encoding/decoding filenames altogether, which is a thorny issue in itself, and only made worse by DBus' weird wrappers.)
Please test that this fixes the issue for you. (The fix is in trunk now, if you install from source. If you're using the PPA, a new build should be available sometime soon.)