Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2017-08-06 | mpv.py: Un-break property write access | jaseg | 1 | -9/+19 | |
2017-08-03 | Add pillow-based screenshot_raw command | jaseg | 1 | -0/+11 | |
2017-08-03 | Move to fully FORMAT_NODE-based API | jaseg | 1 | -325/+145 | |
This will break lots of stuff. * Use MPV_FORMAT_NODE mostly everywhere * Dynamically discover properties instead of using a static list * Modify encoding handling to be more versatile | |||||
2017-08-03 | Fixes for libmpv v0.26.0 | jaseg | 1 | -0/+7 | |
2017-08-02 | mpv module: Remove load_lua | jaseg | 1 | -5/+0 | |
It wouldn't work on all systems anyway due to differing names for liblua ("liblua.so", "liblua-5.1.so" etc.) and also doesn't seem to be necessary anymore. | |||||
2017-08-02 | MPV constructor: Add loglevel argument | jaseg | 1 | -4/+3 | |
2017-07-23 | Fix register_event_callback to work with methods | jaseg | 1 | -1/+0 | |
2017-07-13 | Remove debug hack accidentially left in the code | jaseg | 1 | -1/+1 | |
2017-07-13 | Fix message handler registration and advanced README example | jaseg | 1 | -2/+1 | |
2017-07-03 | Make compatible with libmpv 0.22.0 | jaseg | 1 | -10/+7 | |
2017-07-03 | Add support for string-array options | jaseg | 1 | -11/+65 | |
2017-05-26 | mpv-test: Fix some tests, add property observer decorator test | jaseg | 1 | -4/+3 | |
Also fix ass-style-override | |||||
2017-05-21 | Fix `unobserve_property` RuntimeError | Matt Deacalion Stevens | 1 | -2/+9 | |
2017-05-20 | Fix typo in register_key_binding | jaseg | 1 | -1/+1 | |
2017-05-11 | Add property observer format override | jaseg | 1 | -11/+20 | |
2017-05-10 | BREAKING: Move property observation API to NODE format | jaseg | 1 | -43/+24 | |
2017-05-10 | Add documentation and polish handler registration | jaseg | 1 | -50/+246 | |
2017-05-10 | MPV.event_callback: Allow str event type names | jaseg | 1 | -1/+6 | |
2017-05-10 | Update properties for current upstream master | jaseg | 1 | -7/+16 | |
2017-05-10 | Add OSD property access | jaseg | 1 | -2/+9 | |
2017-05-10 | Add callback/message handler decorators | jaseg | 1 | -1/+20 | |
2017-05-07 | Organize convenience functions | jaseg | 1 | -7/+7 | |
2017-05-07 | Add playlist_append porcelain | jaseg | 1 | -0/+3 | |
2017-05-07 | Add license header | jaseg | 1 | -0/+18 | |
2017-05-06 | Add playlist_filenames property | Hans Ole Hatzel | 1 | -0/+4 | |
Closes #21 | |||||
2017-01-06 | Simplify initialization logic somewhat | jaseg | 1 | -3/+1 | |
2017-01-06 | Make sure _mpv_initialize is called before _mpv_terminate_destroy | Frechdachs | 1 | -4/+8 | |
2017-01-04 | Make so/DLL loading more robust | jaseg | 1 | -2/+8 | |
* Print a proper error message if shared object not found on unix * Abide by local conventions and look for DLL in script's directory on windows | |||||
2016-11-23 | Clarify event thread handling in the README | jaseg | 1 | -5/+8 | |
2016-09-15 | Fix MPV.terminate so it can be called from event handlers | jaseg | 1 | -5/+11 | |
2016-08-20 | Pimp loadfile to accept per-file options | jaseg | 1 | -2/+6 | |