Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-06-17 | Fix `observe_property()` docstring | Naglis Jonaitis | 1 | -5/+5 | |
1. Fix decorator name - the decorator for property observation handlers is `@property_observer()`. 2. Fix handler's unregistration method name 3. Fix handler function signature - the signature is ``fun(property_name, new_value)`` and we can't have a bare `*` with no names after it. 4. Fix undefined variable in the example | |||||
2022-06-17 | Error for known-incompatible libmpv (closes #223) | James Gerity | 1 | -0/+5 | |
2022-04-24 | Add cancel handling to streams | jaseg | 1 | -12/+9 | |
2022-04-24 | Add event queue overflow handling | jaseg | 1 | -19/+32 | |
2022-04-22 | Finish event infrastructure rework. | jaseg | 1 | -6/+6 | |
2022-04-22 | Finish rewriting event infrastructure | jaseg | 1 | -3/+8 | |
2022-04-22 | Continue reworking event infrastrucutre. | jaseg | 1 | -25/+58 | |
Note: We do not decode property values by default anymore. | |||||
2022-04-22 | Update event wrapper classes | jaseg | 1 | -47/+41 | |
2022-04-22 | Remove deprecated libmpv API | jaseg | 1 | -29/+11 | |
2022-04-22 | add albumart arg to video_add | jaseg | 1 | -2/+2 | |
2022-04-20 | Remove MpvSubApi wrapper | DepFA | 1 | -3/+0 | |
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 | |