pympv
pympv copied to clipboard
Commands containing unicode
Is it possible to send commands containing unicode?
>>> import mpv
>>> m = mpv.Context()
>>> m.initialize()
>>> m.command('loadfile', u'a–b.mp3')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mpv.pyx", line 560, in mpv.Context.command (mpv.c:8989)
mpv.MPVError: invalid parameter
That was supposed to work, I have not looked in this code in a long time though. May have only worked in py3
On Jul 24, 2016 8:24 PM, "improbable0101" [email protected] wrote:
Is it possible to send commands containing unicode?
import mpv m = mpv.Context() m.initialize() m.command('loadfile', u'a–b.mp3') Traceback (most recent call last): File "
", line 1, in File "mpv.pyx", line 560, in mpv.Context.command (mpv.c:8989) mpv.MPVError: invalid parameter — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andre-d/pympv/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AArlskFYLQpQmwyHk-iCYu0Nit3DTaWdks5qZAJTgaJpZM4JTtRZ .
Fixed in marcan@91fe73b6009d8c97757322fa851786a9194c5459, not sure why it hasn't been sent upstream.