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 /mpv.py | |
parent | 35e69cd93e2f1c265157400d7aa2b5e64f962b23 (diff) | |
download | python-mpv-3d6155871447ef5c5e4d54c39eb8ff573a3b49e9.tar.gz python-mpv-3d6155871447ef5c5e4d54c39eb8ff573a3b49e9.tar.bz2 python-mpv-3d6155871447ef5c5e4d54c39eb8ff573a3b49e9.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')
Diffstat (limited to 'mpv.py')
0 files changed, 0 insertions, 0 deletions