Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | Bump version to v0.5.0v0.5.0 | jaseg | 1 | -1/+1 | |
This release introduces a new ShutdownError thrown in a few places in case the underlying libmpv handle gets closed. Previously, such situations would lead to hangs (wait_for_* methods) or segfaults (e.g. __getattr__). Some of this carnage is still possible, but these remaining issues will be closed over the next releases by throwing ShutdownErrors in more places. | |||||
2020-07-19 | tests: add tests for new wait_* API | jaseg | 1 | -0/+87 | |
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 | 2 | -65/+99 | |
2020-07-18 | mpv.py: improve shutdown handling, replace wait_for_playback | jaseg | 1 | -11/+38 | |
2020-07-16 | Bump version to v0.4.8v0.4.8 | jaseg | 1 | -1/+1 | |
2020-07-16 | README: add video overlay example | jaseg | 1 | -1/+40 | |
2020-07-16 | mpv.py: add wait_until_paused, wait_until_playing | jaseg | 2 | -4/+12 | |
2020-07-16 | mpv.py: Add overlay support | jaseg | 1 | -0/+104 | |
2020-07-16 | tests: rename test.srt to sub_test.srt to prevent auto-load | jaseg | 2 | -2/+2 | |
2020-07-16 | mpv.py: add some missing commands | jaseg | 1 | -5/+97 | |
2020-07-16 | tests: improve key binding tests with loopback test | jaseg | 1 | -10/+24 | |
2020-07-15 | tests: Fix test_log_handler for current master | jaseg | 1 | -3/+7 | |
The current mpv master changes default log output, breaking this test. To be future-proof, it now emits its own message through the print-text command. | |||||
2020-07-15 | tests: Fix TestLifecycle.test_options for current mpv master | jaseg | 1 | -1/+2 | |
2020-07-15 | tests: Fix test_instance_method_property_observer (#108) | jaseg | 1 | -8/+8 | |
The loop property was a poor choice here since setting it messes with libmpv's event loop, leading to property change observer events being dropped. | |||||
2020-07-15 | tests: Fix test_property_observer_decorator (#108) | jaseg | 1 | -10/+10 | |
2020-07-15 | tests: Fix test_write for segaults in libmpv (#108) | jaseg | 1 | -0/+4 | |
2020-07-15 | added "python_requires" | YoSTEALTH | 1 | -0/+1 | |
people are installing this package in python2 and running into issues of syntax error which is only used in pyhon3.5, thus the need of `python_requires` | |||||
2020-07-15 | remove superfluous whitespaces | Louis-Philippe VĂ©ronneau | 2 | -3/+3 | |
2020-07-12 | Bump version to v0.4.7v0.4.7 | jaseg | 1 | -1/+1 | |
2020-07-12 | README: Add detail on subtitle handling | jaseg | 1 | -10/+21 | |
2020-07-12 | Fix handling of dashed options in loadfile. | jaseg | 3 | -8/+44 | |
Add tests based on --sub-file. Also add a test for sub_add here. | |||||
2020-07-11 | update README with inserting subtitles | Peter Kuchar | 1 | -0/+19 | |
2020-04-05 | Add release script | jaseg | 1 | -0/+17 | |
2020-04-05 | Version v0.4.6v0.4.6 | jaseg | 1 | -1/+1 | |
2020-04-05 | Make tests run headless using xvfbwrapper | jaseg | 2 | -1/+14 | |
2020-04-01 | Add some high-level API information to README | jaseg | 1 | -0/+3 | |
2020-01-24 | README: Add info on GUI modes | jaseg | 1 | -0/+21 | |
Closes #102 | |||||
2020-01-03 | README: add render context gtk example | jaseg | 1 | -4/+11 | |
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 | |||||
2020-01-03 | Add GTK/OpenGL example (#100) | Elias | 1 | -2/+7 | |
* Add GTK/OpenGL example | |||||
2019-12-04 | Version 0.4.5v0.4.5 | jaseg | 1 | -1/+1 | |
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 | |