diff --git a/mpv.py b/mpv.py index b0d6917..0b6d04f 100644 --- a/mpv.py +++ b/mpv.py @@ -34,7 +34,7 @@ 'with your script and put the directory your script is in into %PATH% before "import mpv": ' 'os.environ["PATH"] = os.path.dirname(__file__) + os.pathsep + os.environ["PATH"] ' 'If mpv-1.dll is located elsewhere, you can add that path to os.environ["PATH"].') - backend = CDLL(dll) + backend = CDLL(os.path.abspath(dll)) fs_enc = 'utf-8' else: import locale