Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-04 | Windows: Use cytpes.load_library to look for DLL | jaseg | 2 | -9/+17 | |
2019-12-03 | Version 0.4.4v0.4.4 | jaseg | 1 | -1/+1 | |
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 | Version 0.4.2v0.4.2 | jaseg | 1 | -1/+1 | |
2019-12-02 | tests: Silence libmpv during unittests | jaseg | 1 | -1/+54 | |
2019-12-02 | Fix Python 3.5 compatibility | jaseg | 2 | -2/+2 | |
2019-12-01 | Version 0.4.1v0.4.1 | jaseg | 1 | -1/+1 | |
2019-12-01 | Add stream protocol handling | jaseg | 3 | -6/+365 | |
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 | Bump version to v0.4.0v0.4.0 | jaseg | 1 | -1/+1 | |
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') | |||||
2019-11-26 | key bindings: Introduce key char parameter | jaseg | 2 | -13/+13 | |
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-26 | README - vo "opengl" doesn't exist anymore | Rijnder Wever | 1 | -1/+1 | |
2019-11-10 | Version 0.3.10v0.3.10 | jaseg | 1 | -1/+1 | |
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-08 | README: Add cosven's QT/OpenGL example | jaseg | 1 | -0/+7 | |
2019-02-07 | fix: getProcAddr function should return a function or 0 | cosven | 1 | -1/+1 | |
2018-12-02 | Merge pull request #78 from trin94/patch-1 | jaseg | 1 | -0/+38 | |
Readme: Add PyGtk embedding example | |||||
2018-12-01 | Readme: Add PyGtk embedding example | Elias | 1 | -0/+38 | |
2018-07-25 | Version 0.3.9v0.3.9 | jaseg | 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 | README: Add PyQT embedding example | jaseg | 1 | -2/+42 | |
2017-12-25 | README: Add "supported platforms" section | jaseg | 1 | -0/+13 | |
2017-12-25 | Refactor node_cast_value to use large if/elif instead of dict lookup | jaseg | 1 | -12/+25 | |
2017-12-24 | Bump version to v0.3.8v0.3.8 | jaseg | 1 | -1/+1 | |
2017-12-24 | Fix MpvNode logic to use pröper unions | jaseg | 2 | -36/+53 | |
...instead of lots manual ctypes pointer casting | |||||
2017-12-05 | v0.3.7: Remove windows classifiers since nobody tests this on windows | jaseg | 1 | -3/+1 | |
2017-09-19 | Bump version to 0.3.6v0.3.6 | jaseg | 1 | -1/+1 | |
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 | Version 0.3.5v0.3.5 | jaseg | 1 | -1/+1 | |
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-23 | Version 0.3.4v0.3.4 | jaseg | 1 | -1/+1 | |
2017-08-23 | README: loop -> loop_playlist | jaseg | 1 | -1/+1 | |
2017-08-21 | Add on_key_press | jaseg | 3 | -11/+74 | |
2017-08-20 | Bump version to 0.3.3v0.3.3 | jaseg | 1 | -1/+1 | |
2017-08-20 | Fix key binding registration for bound methods, add unit tests | jaseg | 2 | -9/+83 | |
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 | 2 | -2/+3 | |
2017-08-06 | setup.py: Add pillow extra dependency | jaseg | 1 | -0/+3 | |
2017-08-06 | Bump version to 0.3.2v0.3.2 | jaseg | 1 | -1/+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 | Re-nerf property observer tests | jaseg | 1 | -21/+18 | |
2017-08-06 | Bump version to 0.3.1v0.3.1 | jaseg | 1 | -1/+1 | |
2017-08-06 | mpv-test.py: Add more thorough property tests | jaseg | 1 | -0/+82 | |
2017-08-06 | mpv.py: Un-break property write access | jaseg | 1 | -9/+19 | |
2017-08-03 | Bump version to 0.3.0v0.3.0 | jaseg | 1 | -1/+1 | |
2017-08-03 | Add pillow-based screenshot_raw command | jaseg | 2 | -0/+17 | |
2017-08-03 | Move to fully FORMAT_NODE-based API | jaseg | 2 | -467/+230 | |
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 | Bump version to 0.2.9v0.2.9 | jaseg | 1 | -1/+1 | |