Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-04-20 | Remove dropped mpv-2 api methods. | DepFA | 1 | -19/+3 | |
2022-04-18 | Add some useful input commands | jaseg | 1 | -0/+9 | |
2022-04-18 | Add keyword argument command interface | jaseg | 1 | -8/+44 | |
2022-04-18 | Update copyright headers | jaseg | 1 | -8/+7 | |
2022-04-17 | Add missing new event types | jaseg | 1 | -0/+2 | |
2022-04-17 | Add future-based async command API | jaseg | 1 | -37/+46 | |
2022-04-17 | mpv.py: add default error handler for failed async commands | Elias Müller | 1 | -9/+27 | |
2022-04-17 | mpv.py: add support for asynchronous commands | Elias Müller | 1 | -4/+48 | |
2022-04-17 | Default to node_command and rename old command to string_command | jaseg | 1 | -2/+5 | |
2022-04-17 | mpv.py: change mpv_detach_destroy to mpv_destroy | Kira | 1 | -2/+2 | |
2022-04-17 | porcelain: Add fancy wait_for_event/property future handling | jaseg | 1 | -27/+39 | |
2022-03-26 | Add timeouts and error forwarding to wait_for_{property,event} conditions | jaseg | 1 | -40/+61 | |
2022-03-26 | use daemon = True instead of setDaemon | jaseg | 1 | -1/+1 | |
2021-07-28 | Fix handling of c_void_p args in MpvRenderParam.__init__() | Marcel Moreaux | 1 | -0/+3 | |
Handling of c_void_p args (x11_display, wl_display) was broken. Added a case to correctly handle the c_void_p constructor case. See https://github.com/jaseg/python-mpv/issues/169 | |||||
2021-01-19 | mpv.py: update: Use ctypes.memmove to speed up | hixz00 | 1 | -1/+1 | |
2020-07-25 | Fixing typo in keep_playlist causing NameError | Dziqs | 1 | -1/+1 | |
2020-07-19 | mpv.py: terminate: Raise warning when called from event thread. | jaseg | 1 | -4/+7 | |
2020-07-19 | mpv.py: add wait_for_shutdown | jaseg | 1 | -0/+11 | |
2020-07-19 | mpv.py: add check_core_alive, check core in __getattr__, __setattr__ | jaseg | 1 | -8/+12 | |
2020-07-19 | mpv.py: add prepare_and_wait_for_property | jaseg | 1 | -0/+10 | |
2020-07-19 | mpv.py: Update copyright date | jaseg | 1 | -1/+1 | |
2020-07-18 | mpv.py: Add docstrings to new additions to API | jaseg | 1 | -2/+17 | |
2020-07-18 | Sprinkle some thread safety over event loop, add *wait_for_event | jaseg | 1 | -56/+91 | |
2020-07-18 | mpv.py: improve shutdown handling, replace wait_for_playback | jaseg | 1 | -11/+38 | |
2020-07-16 | mpv.py: add wait_until_paused, wait_until_playing | jaseg | 1 | -0/+8 | |
2020-07-16 | mpv.py: Add overlay support | jaseg | 1 | -0/+104 | |
2020-07-16 | mpv.py: add some missing commands | jaseg | 1 | -5/+97 | |
2020-07-15 | remove superfluous whitespaces | Louis-Philippe Véronneau | 1 | -2/+2 | |
2020-07-12 | Fix handling of dashed options in loadfile. | jaseg | 1 | -1/+1 | |
Add tests based on --sub-file. Also add a test for sub_add here. | |||||
2020-01-03 | Initial libmpv/render.h mapping | jaseg | 1 | -11/+195 | |
For an example using this with GTK see: https://gist.github.com/jaseg/657e8ecca3267c0d82ec85d40f423caa | |||||
2019-12-04 | Windows: Use cytpes.load_library to look for DLL | jaseg | 1 | -5/+8 | |
2019-12-03 | Allow mpv-1.dll to be placed in python script directory (#96) | ripdog | 1 | -1/+4 | |
Windows: Look for DLL in script directory Loading DLLs through ctypes on Windows is a mess. ctypes looks in PATH, which is different from the Windows built-in DLL loading system. By default ctypes looks next to python.exe, but you might not want to install python script dependencies next to the system-wide python interpreter. This commit adds a fallback looking for mpv-1.dll in the same directory the mpv.py script is placed in to allow people to use python-mpv with a minimum in configuration. You can still control loading behavior through PATH. For details on this, consult the following stackoverflow answer: https://stackoverflow.com/a/23805306 | |||||
2019-12-02 | Fix Python 3.5 compatibility | jaseg | 1 | -1/+1 | |
2019-12-01 | Add stream protocol handling | jaseg | 1 | -4/+261 | |
This allows you to directly feed bytes into mpv without going through a file, FIFO etc. first. The new API is: @player.register_stream_protocol(name) @player.python_stream(name, size) @player.python_stream_catchall See their docstrings for their usage. | |||||
2019-11-26 | key bindings: Introduce key char parameter | jaseg | 1 | -4/+4 | |
Adapt key binding script message handling to be compatible with the new key char parameter introduced upstream in https://github.com/mpv-player/mpv/commit/21f2468d67e11eff7ede0d85fa6f4ab5c4f7de84 This change is backwards-compatible. With older mpv versions this parameter will be None. | |||||
2019-11-10 | Use stride//4 rather than the returned image w | dfaker | 1 | -1/+1 | |
As per discussion on the mpv issue https://github.com/mpv-player/mpv/issues/7076 to handle the screenshot-raw when vf cropping filters are in use. | |||||
2019-02-07 | fix: getProcAddr function should return a function or 0 | cosven | 1 | -1/+1 | |
2018-07-25 | command: fix default show-text duration param value | jaseg | 1 | -1/+1 | |
The mpv manpage seems to be wrong here. A look at mpv's command.c show that -1 works fine here. | |||||
2017-12-25 | Refactor node_cast_value to use large if/elif instead of dict lookup | jaseg | 1 | -12/+25 | |
2017-12-24 | Fix MpvNode logic to use pröper unions | jaseg | 1 | -27/+40 | |
...instead of lots manual ctypes pointer casting | |||||
2017-09-18 | Fixed TypeError: _handle_key_binding_message() signature incompatibility ↵ | Vilius Grigaliūnas | 1 | -1/+1 | |
with mpv < v0.15.0 key-binding message has key name parameter only since mpv version 0.15.0 (as stated in manual), therefore trying to bind keys with earlier versions results in TypeError: _handle_key_binding_message() missing 1 required positional argument: 'key_name'. This change makes this argument optional and default to None. | |||||
2017-09-14 | Nicer API names for add/multiply/cycle property | jaseg | 1 | -7/+7 | |
add: _add_property -> property_add multiply: _multiply_property -> property_multiply cycle: _cycle_property -> cycle | |||||
2017-09-14 | Wrap all docstrings to 120 char line width | jaseg | 1 | -150/+91 | |
This is to stay consistent with everything else. | |||||
2017-09-13 | Reformat doctrings to follow PEP 257 and use reStructuredText | Raphael McSinyx | 1 | -192/+228 | |
2017-09-13 | Fix add, cycle and multiply command. | Raphael McSinyx | 1 | -4/+14 | |
2017-08-21 | Add on_key_press | jaseg | 1 | -1/+31 | |
2017-08-20 | Fix key binding registration for bound methods, add unit tests | jaseg | 1 | -9/+10 | |
2017-08-20 | Fix window dragging while using custom key bindings | jaseg | 1 | -1/+1 | |
closes #45 | |||||
2017-08-06 | mpv, mpv-test: Fix vim mode lines | jaseg | 1 | -2/+1 | |
2017-08-06 | Restore compatibility with older libmpv versions | jaseg | 1 | -1/+1 | |
At least v0.26.0 also works with the unfixed version |