summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-04-17mpv.py: add support for asynchronous commandsElias Müller1-4/+48
2022-04-17Default to node_command and rename old command to string_commandjaseg1-2/+5
2022-04-17mpv.py: change mpv_detach_destroy to mpv_destroyKira1-2/+2
2022-04-17porcelain: Add fancy wait_for_event/property future handlingjaseg1-27/+39
2022-04-17Bump minimum python version to 3.7jaseg2-4/+11
2022-04-17README: Add skip silence examplejaseg1-0/+30
2022-04-17tests: Fix flaky sub_add testjaseg1-0/+1
2022-04-17tests: Add wait_for_shutdown unit testjaseg1-1/+12
2022-04-17tests: Switch to pytest, remove devnull hackjaseg1-54/+18
2022-03-26Add timeouts and error forwarding to wait_for_{property,event} conditionsjaseg2-40/+86
2022-03-26Fix segmentation fault in unit tests on waylandjaseg1-0/+3
2022-03-26use daemon = True instead of setDaemonjaseg1-1/+1
2021-10-14test_property_observer_decorator: bump sleep to 0.1sParide Legovini1-1/+1
Fixes flaky test with mpv 0.33.1 on ppc64el. Closes #178.
2021-07-28Fix handling of c_void_p args in MpvRenderParam.__init__()Marcel Moreaux1-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-03-19Update PyGObject example with locale fixup workaroundjaseg1-0/+5
Closes #150
2021-01-19mpv.py: update: Use ctypes.memmove to speed uphixz001-1/+1
2021-01-19Add dfaker's imgui/OpenGL demojaseg1-0/+6
2020-10-02README: Add Robozman's PyQt5/QML/OpenGL render context exampleRobozman1-0/+7
2020-07-25Fixing typo in keep_playlist causing NameErrorDziqs1-1/+1
2020-07-21tests: Make test srt path relative to test scriptjaseg1-2/+3
2020-07-21Make tests run when called through setup.py from root dirjaseg1-2/+2
2020-07-21Move test files into a 'tests' dirLouis-Philippe Véronneau5-1/+1
2020-07-20Version 0.5.1v0.5.1jaseg1-1/+1
2020-07-19mpv.py: terminate: Raise warning when called from event thread.jaseg1-4/+7
2020-07-19mpv.py: add wait_for_shutdownjaseg1-0/+11
2020-07-19mpv.py: add check_core_alive, check core in __getattr__, __setattr__jaseg1-8/+12
2020-07-19Bump version to v0.5.0v0.5.0jaseg1-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-19tests: add tests for new wait_* APIjaseg1-0/+87
2020-07-19mpv.py: add prepare_and_wait_for_propertyjaseg1-0/+10
2020-07-19mpv.py: Update copyright datejaseg1-1/+1
2020-07-18mpv.py: Add docstrings to new additions to APIjaseg1-2/+17
2020-07-18Sprinkle some thread safety over event loop, add *wait_for_eventjaseg2-65/+99
2020-07-18mpv.py: improve shutdown handling, replace wait_for_playbackjaseg1-11/+38
2020-07-16Bump version to v0.4.8v0.4.8jaseg1-1/+1
2020-07-16README: add video overlay examplejaseg1-1/+40
2020-07-16mpv.py: add wait_until_paused, wait_until_playingjaseg2-4/+12
2020-07-16mpv.py: Add overlay supportjaseg1-0/+104
2020-07-16tests: rename test.srt to sub_test.srt to prevent auto-loadjaseg2-2/+2
2020-07-16mpv.py: add some missing commandsjaseg1-5/+97
2020-07-16tests: improve key binding tests with loopback testjaseg1-10/+24
2020-07-15tests: Fix test_log_handler for current masterjaseg1-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-15tests: Fix TestLifecycle.test_options for current mpv masterjaseg1-1/+2
2020-07-15tests: Fix test_instance_method_property_observer (#108)jaseg1-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-15tests: Fix test_property_observer_decorator (#108)jaseg1-10/+10
2020-07-15tests: Fix test_write for segaults in libmpv (#108)jaseg1-0/+4
2020-07-15added "python_requires"YoSTEALTH1-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-15remove superfluous whitespacesLouis-Philippe Véronneau2-3/+3
2020-07-12Bump version to v0.4.7v0.4.7jaseg1-1/+1
2020-07-12README: Add detail on subtitle handlingjaseg1-10/+21
2020-07-12Fix handling of dashed options in loadfile.jaseg3-8/+44
Add tests based on --sub-file. Also add a test for sub_add here.