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