diff options
-rw-r--r-- | mpv.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,12 +8,13 @@ from warnings import warn from functools import partial # vim: ts=4 sw=4 et -fs_enc = sys.getfilesystemencoding() if os.name == 'nt': backend = CDLL(ctypes.util.find_library('mpv-1.dll')) + fs_enc = 'utf-8' else: backend = CDLL(ctypes.util.find_library('mpv')) + fs_enc = sys.getfilesystemencoding() class MpvHandle(c_void_p): |