Commit graph

261 commits

Author SHA1 Message Date
Elias Müller
976b7e685e Make mpv-2.dll available 2022-07-11 12:44:47 +02:00
Elias Müller
1ed91e44e3 Skip Python 3.7 2022-07-11 12:44:47 +02:00
Elias Müller
49a26a663d Add Windows test 2022-07-11 12:44:47 +02:00
Elias Müller
427603bd81 Run on Python 3.7 - 3.10 2022-07-11 12:44:47 +02:00
Elias Müller
7a428a22e0 Rename job 2022-07-11 12:44:47 +02:00
Elias Müller
543bc9b958 Use newer actions 2022-07-11 12:44:47 +02:00
Elias Müller
b12203d2d2 Skip unreliable test in CI 2022-07-11 12:44:47 +02:00
Elias Müller
fcd2c354ae Use xvfb-run to run tests 2022-07-11 12:44:47 +02:00
Elias Müller
d027abcc3a Upgrade pip 2022-07-11 12:44:47 +02:00
Elias Müller
9626d790f5 Remove starter
Run:
- python -m unittest
or
- python -m pytest
2022-07-11 12:44:47 +02:00
Elias Müller
5d9cd2b252 Remove unused variables 2022-07-11 12:44:47 +02:00
Elias Müller
0e19248d69 Use two blank lines between classes and functions 2022-07-11 12:44:47 +02:00
Elias Müller
6a71ee0b9a Comment error prone test 2022-07-11 12:44:47 +02:00
Elias Müller
328bf1d0dc Fix environment variable 2022-07-11 12:44:47 +02:00
Elias Müller
af0a8c6bff Fix environment variable 2022-07-11 12:44:47 +02:00
Elias Müller
e91fd16f35 Start Xvfb before running tests 2022-07-11 12:44:47 +02:00
Elias Müller
dffd89630b Add test workflow 2022-07-11 12:44:47 +02:00
Elias Müller
721cff015b Add requirements file 2022-07-11 12:44:47 +02:00
Elias Müller
3d90f471d2 Remove unused imports 2022-07-11 12:44:47 +02:00
Elias Müller
91422de05a Fix show_text level default parameter 2022-07-11 12:37:36 +02:00
Naglis Jonaitis
20ec2a74b8 Fix observe_property() docstring
1. Fix decorator name - the decorator for property observation handlers is `@property_observer()`.
2. Fix handler's unregistration method name
3. Fix handler function signature - the signature is ``fun(property_name, new_value)`` and we can't have a bare `*` with no names after it.
4. Fix undefined variable in the example
2022-06-17 00:13:21 +02:00
Naglis Jonaitis
dd4d016de8 Fix external subtitles example
Currently, running the example results in:

> TypeError: MPV.play() got an unexpected keyword argument 'sub_file'
2022-06-17 00:11:56 +02:00
Louis-Philippe Véronneau
1c0340e2d7 Fix typo in function name 2022-06-17 00:10:57 +02:00
Naglis Jonaitis
cc9072d7d8 Update branch name references 2022-06-17 00:10:34 +02:00
James Gerity
4a8554319f Error for known-incompatible libmpv (closes #223) 2022-06-17 00:10:01 +02:00
jaseg
1d2a0bef46 Fix license field in setup.py 2022-04-27 18:14:57 +02:00
jaseg
0bc8547a3b Version 1.0.1 2022-04-24 13:56:15 +02:00
jaseg
a2f47a6524 Version 1.0.1
Include README in PyPI package
2022-04-24 13:55:24 +02:00
jaseg
4b6c21677e Fix setup.py for PyPI upload 2022-04-24 13:52:42 +02:00
jaseg
49d634ac53 Version v1.0.0 2022-04-24 13:48:51 +02:00
jaseg
f20d0f50ee Version 1.0.0 2022-04-24 13:46:14 +02:00
jaseg
bd46633641 Add cancel handling to streams 2022-04-24 13:43:44 +02:00
jaseg
677b62cd81 Remove outdated OpenGL examples from README 2022-04-24 13:43:44 +02:00
jaseg
5f4cf600b5 Add event queue overflow handling 2022-04-24 13:43:44 +02:00
jaseg
3cb1196621 Finish event infrastructure rework. 2022-04-22 23:24:10 +02:00
jaseg
85ad2a6aa6 Finish rewriting event infrastructure 2022-04-22 23:18:48 +02:00
jaseg
c90a5f692f Continue reworking event infrastrucutre.
Note: We do not decode property values by default anymore.
2022-04-22 23:01:13 +02:00
jaseg
f4c9f2fec4 Use mock.Mock to mock Xvfbwrapper on Windows 2022-04-22 21:55:09 +02:00
jaseg
2d87c897e2 Update event wrapper classes 2022-04-22 21:53:10 +02:00
jaseg
341f4c5c16 Remove deprecated libmpv API 2022-04-22 21:53:08 +02:00
jaseg
116c756fa4 add albumart arg to video_add 2022-04-22 21:52:51 +02:00
DepFA
9148f544eb
Windows test workaround
Add dummy Xvfb implementation, parameterise vo and use gpu renderer for windows tests
2022-04-22 09:19:54 +01:00
DepFA
0f48db6398
Remove MpvSubApi wrapper 2022-04-20 13:57:56 +01:00
DepFA
87559cde89
Remove dropped mpv-2 api methods. 2022-04-20 13:55:22 +01:00
jaseg
9fbe39d3b4 Add some useful input commands 2022-04-18 00:31:33 +02:00
jaseg
be1e78158a Add keyword argument command interface 2022-04-18 00:26:47 +02:00
jaseg
80eaa1de9d setup.py: Update license information 2022-04-18 00:01:12 +02:00
jaseg
6cc0b23114 Update copyright headers 2022-04-18 00:00:19 +02:00
jaseg
c84984aa0f Use upstream license 2022-04-17 23:57:57 +02:00
jaseg
1e87833d25 tests: Suppress video output on wayland systems 2022-04-17 23:52:44 +02:00