Bump version to v0.4.0
This change breaks the key binding API. Old code has to be modified to
add the new "char" parameter:
old:
player = mpv.MPV()
@player.key_binding('Q')
def binding(state, name):
print('blep')
new:
player = mpv.MPV()
@player.key_binding('Q')
def binding(state, name, char): # <<< here
print('blep')
This commit is contained in:
parent
35e69cd93e
commit
3d61558714
1 changed files with 1 additions and 1 deletions
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.3.10',
|
version = '0.4.0',
|
||||||
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