Commit graph

280 commits

Author SHA1 Message Date
Carsen Yates
2d787a977d Add field "playlist_entry_id" to MpvEventEndFile 2023-07-22 14:32:53 +02:00
sdaqo
f6d1269531 Add 'self' to mouse function 2023-06-03 18:31:40 +02:00
Michał Górny
3036f64b68 Replace xvfbwrapper with PyVirtualDisplay
Fixes #249
2023-06-03 18:31:21 +02:00
jaseg
5a1a2734f2 Add __version__ field to module
Closes #248.
2023-03-30 13:57:01 +02:00
jaseg
80f5ea64a1 Version v1.0.3 2023-02-27 10:30:27 +01:00
jaseg
d34b6252f7 Move to new old pypi project name 2023-02-27 10:26:59 +01:00
jaseg
7343604f10 Add tests and fix error handling for stream callbacks 2023-02-26 20:15:27 +01:00
jaseg
f9a655e7ca Add cross-thread exception handling for event loop and stream callbacks 2023-02-26 19:47:20 +01:00
jaseg
d7664eb671 Fix release script for new packaging workflow 2023-02-26 15:17:38 +01:00
jaseg
244c0ef316 Version v1.0.2 2023-02-26 14:06:41 +01:00
jaseg
6625a3900d Update license header with dual-license information
Closes #206
2023-02-26 13:07:54 +01:00
jaseg
2f117e0ec7 Update package metadata 2023-02-26 12:48:34 +01:00
Louis-Philippe Véronneau
5fbdccc89f
Migrate away from setup.py and use PEP 612-style pyproject.toml
Closes #240.
2022-11-27 16:11:22 -05:00
jaseg
30d5ca1f02 Update setup.cfg for new syntax
fixes #230
2022-08-16 16:45:29 +02:00
jaseg
2330fcd416 Fix typo in repr format string
fixes #231
2022-08-16 16:44:27 +02:00
jaseg
85aaed090f tests: Add strategic sleeps to reduce likelihood of race condition during test teardown 2022-07-11 13:49:46 +02:00
Elias Müller
3c25b1d9f3 Fix package upgrade 2022-07-11 12:44:47 +02:00
Elias Müller
6f07273482 Cleanup pipeline 2022-07-11 12:44:47 +02:00
Elias Müller
bb7d0a332d Run Windows tests on Python 3.8 - 3.10 2022-07-11 12:44:47 +02:00
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