summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-07-11update README with inserting subtitlesPeter Kuchar1-0/+19
2020-04-05Add release scriptjaseg1-0/+17
2020-04-05Version v0.4.6v0.4.6jaseg1-1/+1
2020-04-05Make tests run headless using xvfbwrapperjaseg2-1/+14
2020-04-01Add some high-level API information to READMEjaseg1-0/+3
2020-01-24README: Add info on GUI modesjaseg1-0/+21
Closes #102
2020-01-03README: add render context gtk examplejaseg1-4/+11
2020-01-03Initial libmpv/render.h mappingjaseg1-11/+195
For an example using this with GTK see: https://gist.github.com/jaseg/657e8ecca3267c0d82ec85d40f423caa
2020-01-03Add GTK/OpenGL example (#100)Elias1-2/+7
* Add GTK/OpenGL example
2019-12-04Version 0.4.5v0.4.5jaseg1-1/+1
2019-12-04Windows: Use cytpes.load_library to look for DLLjaseg2-9/+17
2019-12-03Version 0.4.4v0.4.4jaseg1-1/+1
2019-12-03Allow mpv-1.dll to be placed in python script directory (#96)ripdog1-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-02Version 0.4.2v0.4.2jaseg1-1/+1
2019-12-02tests: Silence libmpv during unittestsjaseg1-1/+54
2019-12-02Fix Python 3.5 compatibilityjaseg2-2/+2
2019-12-01Version 0.4.1v0.4.1jaseg1-1/+1
2019-12-01Add stream protocol handlingjaseg3-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.