Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80a0e7888a | ||
|
|
c6a8088f3a |
2 changed files with 5 additions and 2 deletions
5
mpv.py
5
mpv.py
|
|
@ -28,7 +28,10 @@ import re
|
|||
import traceback
|
||||
|
||||
if os.name == 'nt':
|
||||
backend = CDLL('mpv-1.dll')
|
||||
try:
|
||||
backend = CDLL('mpv-1.dll')
|
||||
except FileNotFoundError:
|
||||
backend = CDLL(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'mpv-1.dll'))
|
||||
fs_enc = 'utf-8'
|
||||
else:
|
||||
import locale
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -3,7 +3,7 @@
|
|||
from setuptools import setup
|
||||
setup(
|
||||
name = 'python-mpv',
|
||||
version = '0.4.2',
|
||||
version = '0.4.3',
|
||||
py_modules = ['mpv'],
|
||||
description = 'A python interface to the mpv media player',
|
||||
url = 'https://github.com/jaseg/python-mpv',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue