-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't play specific songs (probably Unicode related) #2
Comments
I can't possibly help unless you tell me which one… |
It concerns all songs that contain special characters i.e. the Danish letters æøå. I can play it from another Alfred-workflow (the https://github.com/valrus/alfred-mpd), so it's not the songs that are corrupted or anything like that. It has no problems showing the characters it just refuses to play the song with the message "error adding: thesonginquestion.mp3: No such directory" |
I have the same problems with the Ulysses-alfred workflow. I can hardly read python, but it appears to me that he has used your python library to create his workflow. Could it be that there is a bug somewhere in it? I'll test it if I come across other workflows that rely on your library. |
No, thanks. Just the title/file name that contains non-ASCII characters, please. Also the error message from Alfred's debugger.
It's very well tested with non-ASCII and is used by hundreds of workflows. The problem is with the workflows themselves. Handling non-ASCII in Python 2 is a notorious source of errors. |
It could be "15 Skøn Er Våren.m4a", but it's basically related to all songs with æ, ø and å. The debug log is here: Starting debug for 'MPD' [2017-08-23 14:32:18][STDERR: input.scriptfilter] 14:32:18 workflow.py:2225 DEBUG Workflow version : 0.1.2 14:32:27 workflow.py:2423 DEBUG Set last run version : 0.1.2 |
MPD isn't a native Mac app, so it doesn't handle normalisation forms that don't match the filesystem.
Thanks. That was what I needed to identify the issue. Should be fixed in v0.1.3. Best guess is that it's because |
I have a problem playing a specific song. The bug only exists in your workflow since I don't have any problems playing it in https://github.com/valrus/alfred-mpd. I can send you the song if you want to test it yourself.
The text was updated successfully, but these errors were encountered: