summaryrefslogtreecommitdiff
path: root/mpv-test.py
AgeCommit message (Collapse)AuthorFilesLines
2020-07-12Fix handling of dashed options in loadfile.jaseg1-7/+34
Add tests based on --sub-file. Also add a test for sub_add here.
2020-04-05Make tests run headless using xvfbwrapperjaseg1-1/+12
2019-12-02tests: Silence libmpv during unittestsjaseg1-1/+54
2019-12-02Fix Python 3.5 compatibilityjaseg1-1/+1
2019-12-01Add stream protocol handlingjaseg1-2/+86
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-26key bindings: Introduce key char parameterjaseg1-9/+9
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.
2017-12-24Fix MpvNode logic to use pröper unionsjaseg1-9/+13
...instead of lots manual ctypes pointer casting
2017-08-21Add on_key_pressjaseg1-0/+35
2017-08-20Fix key binding registration for bound methods, add unit testsjaseg1-0/+73
2017-08-06mpv, mpv-test: Fix vim mode linesjaseg1-0/+2
2017-08-06Re-nerf property observer testsjaseg1-21/+18
2017-08-06mpv-test.py: Add more thorough property testsjaseg1-0/+82
2017-08-03Move to fully FORMAT_NODE-based APIjaseg1-142/+85
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-03Fixes for libmpv v0.26.0jaseg1-5/+5
2017-07-03tests: Add test for multi-valued property-mapped optionsjaseg1-0/+4
2017-07-03Make compatible with libmpv 0.22.0jaseg1-6/+9
2017-07-03Fix racy property testsjaseg1-3/+24
2017-05-26Add regression test for #26jaseg1-1/+29
2017-05-26mpv-test: Fix some tests, add property observer decorator testjaseg1-10/+49
Also fix ass-style-override
2017-05-21Fix `unobserve_property` RuntimeErrorMatt Deacalion Stevens1-0/+27
2017-05-10BREAKING: Move property observation API to NODE formatjaseg1-1/+1
2017-05-10Add documentation and polish handler registrationjaseg1-1/+2
2017-05-10Update properties for current upstream masterjaseg1-11/+20
2016-11-23Clarify event thread handling in the READMEjaseg1-1/+1
2016-08-24Small refactoring of with usage in testsjaseg1-37/+31
2016-08-20Pimp loadfile to accept per-file optionsjaseg1-1/+1
2016-08-20BREAKING :boom: Improve property handlingjaseg1-3/+3
2016-08-17Improve event handling, add message handling, add key binding foojaseg1-4/+7
2016-08-13Finally add node handling, fix ALL THE THINGSjaseg1-29/+48
* New node handling * Add remaining properties * Improve property type handling (no more ynbool!) * Add pröper option access * Add a whole bunch of tests
2016-08-13WIPjaseg1-33/+29
2016-08-13Add loads of new propertiesjaseg1-2/+19
2016-08-13More testsjaseg1-1/+45
2016-08-04Make video-pan-x and video-pan-y floats as they should bejaseg1-3/+1
2016-02-19Add testsjaseg1-0/+129