-
Notifications
You must be signed in to change notification settings - Fork 206
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
ffmpeg.py does not check for unicode strings #241
Comments
Can you provide an example (or even better: a test) which shows the problem? I fixed something related quite recently #236. Seems like this fix was not enough. EDIT: just searched for exact matches, missed many other instances. |
Actually, this happens also in line 184, 243, and 292. |
@flokadillo, could you try the fix provided in #305 and see if it fixes your issue? |
In
madmom.audio.ffmpeg.py
, there are several lines whereisinstance(infile, str):
is used. We should replace this byisinstance(infile, (str, unicode)):
to also support python 2.7's unicode string type.The text was updated successfully, but these errors were encountered: