diff options
Diffstat (limited to 'mpv.py')
-rw-r--r-- | mpv.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8,7 +8,10 @@ from warnings import warn # vim: ts=4 sw=4 -backend = CDLL('libmpv.so') +if os.name == 'nt': + backend = CDLL('mpv-1.dll') +else: + backend = CDLL('libmpv.so') class MpvHandle(c_void_p): |