Hello community, here is the log from the commit of package python-python-mpv for openSUSE:Factory checked in at 2019-11-27 13:54:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-mpv (Old) and /work/SRC/openSUSE:Factory/.python-python-mpv.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-mpv" Wed Nov 27 13:54:07 2019 rev:7 rq:751034 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-mpv/python-python-mpv.changes 2019-11-10 22:55:42.430764914 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-mpv.new.26869/python-python-mpv.changes 2019-11-27 13:54:20.484324915 +0100 @@ -1,0 +2,7 @@ +Tue Nov 26 12:42:09 UTC 2019 - Luigi Baldoni <[email protected]> + +- Update to version 0.4.0 + * key bindings: Introduce key char parameter + * README - vo "opengl" doesn't exist anymore + +------------------------------------------------------------------- Old: ---- python-mpv-0.3.10.tar.gz New: ---- python-mpv-0.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-mpv.spec ++++++ --- /var/tmp/diff_new_pack.2UM0x7/_old 2019-11-27 13:54:22.568324036 +0100 +++ /var/tmp/diff_new_pack.2UM0x7/_new 2019-11-27 13:54:22.572324034 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-mpv # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-python-mpv -Version: 0.3.10 +Version: 0.4.0 Release: 0 Summary: Python interface to the mpv media player License: AGPL-3.0-or-later ++++++ python-mpv-0.3.10.tar.gz -> python-mpv-0.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.3.10/PKG-INFO new/python-mpv-0.4.0/PKG-INFO --- old/python-mpv-0.3.10/PKG-INFO 2019-11-10 16:33:36.000000000 +0100 +++ new/python-mpv-0.4.0/PKG-INFO 2019-11-26 12:28:58.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-mpv -Version: 0.3.10 +Version: 0.4.0 Summary: A python interface to the mpv media player Home-page: https://github.com/jaseg/python-mpv Author: jaseg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.3.10/README.rst new/python-mpv-0.4.0/README.rst --- old/python-mpv-0.3.10/README.rst 2019-11-10 16:31:28.000000000 +0100 +++ new/python-mpv-0.4.0/README.rst 2019-11-26 12:26:37.000000000 +0100 @@ -98,7 +98,7 @@ player.fullscreen = True player.loop_playlist = 'inf' # Option access, in general these require the core to reinitialize - player['vo'] = 'opengl' + player['vo'] = 'gpu' @player.on_key_press('q') def my_q_binding(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.3.10/mpv.py new/python-mpv-0.4.0/mpv.py --- old/python-mpv-0.3.10/mpv.py 2019-11-10 16:31:28.000000000 +0100 +++ new/python-mpv-0.4.0/mpv.py 2019-11-26 12:26:37.000000000 +0100 @@ -950,7 +950,7 @@ def register(fun): @self.key_binding(keydef, mode) @wraps(fun) - def wrapper(state='p-', name=None): + def wrapper(state='p-', name=None, char=None): if state[0] in ('d', 'p'): fun() return wrapper @@ -969,7 +969,7 @@ player = mpv.MPV() @player.key_binding('Q') - def binding(state, name): + def binding(state, name, char): print('blep') binding.unregister_mpv_key_bindings() @@ -1015,8 +1015,8 @@ raise TypeError('register_key_binding expects either an str with an mpv command or a python callable.') self.command('enable-section', binding_name, 'allow-hide-cursor+allow-vo-dragging') - def _handle_key_binding_message(self, binding_name, key_state, key_name=None): - self._key_binding_handlers[binding_name](key_state, key_name) + def _handle_key_binding_message(self, binding_name, key_state, key_name=None, key_char=None): + self._key_binding_handlers[binding_name](key_state, key_name, key_char) def unregister_key_binding(self, keydef): """Unregister a key binding by keydef.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.3.10/python_mpv.egg-info/PKG-INFO new/python-mpv-0.4.0/python_mpv.egg-info/PKG-INFO --- old/python-mpv-0.3.10/python_mpv.egg-info/PKG-INFO 2019-11-10 16:33:36.000000000 +0100 +++ new/python-mpv-0.4.0/python_mpv.egg-info/PKG-INFO 2019-11-26 12:28:58.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-mpv -Version: 0.3.10 +Version: 0.4.0 Summary: A python interface to the mpv media player Home-page: https://github.com/jaseg/python-mpv Author: jaseg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.3.10/setup.py new/python-mpv-0.4.0/setup.py --- old/python-mpv-0.3.10/setup.py 2019-11-10 16:31:56.000000000 +0100 +++ new/python-mpv-0.4.0/setup.py 2019-11-26 12:26:56.000000000 +0100 @@ -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',
