Open sdt opened 11 years ago
Fixes crash when artist or song name contains unicode characters.
Downloads to $songid.mp3 and then renames the file afterwards - avoids unicode issues in the shell command.
For an example of what this fixes, try: groove.py nortt borte
groove.py nortt borte
First it'll crash printing the songs, and later will crash trying to spawn wget. This patch fixes both (hopefully correctly, I'm no unicode expert)
Fixes crash when artist or song name contains unicode characters.
Downloads to $songid.mp3 and then renames the file afterwards - avoids unicode issues in the shell command.
For an example of what this fixes, try:
groove.py nortt borte
First it'll crash printing the songs, and later will crash trying to spawn wget. This patch fixes both (hopefully correctly, I'm no unicode expert)