diff options
author | jaseg <code@jaseg.net> | 2019-11-26 12:26:58 +0100 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2019-11-26 12:26:58 +0100 |
commit | 3d6155871447ef5c5e4d54c39eb8ff573a3b49e9 (patch) | |
tree | fddb4e2ea71fdc72f82981ba304bdc63c93060a4 | |
parent | 35e69cd93e2f1c265157400d7aa2b5e64f962b23 (diff) | |
download | python-mpv-aa954fe2cfb5a9f7a9de4070a58b580b11386bcc.tar.gz python-mpv-aa954fe2cfb5a9f7a9de4070a58b580b11386bcc.tar.bz2 python-mpv-aa954fe2cfb5a9f7a9de4070a58b580b11386bcc.zip |
Bump version to v0.4.0v0.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')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ from setuptools import setup setup( name = 'python-mpv', - version = '0.3.10', + version = '0.4.0', py_modules = ['mpv'], description = 'A python interface to the mpv media player', url = 'https://github.com/jaseg/python-mpv', |