jaseg
16093073b0
Version 1.0.6
2024-04-20 12:51:15 +02:00
jaseg
d96eaf7e64
Fix loadfile for mpv v0.38.0
...
mpv v0.38.0 added an argument to the loadfile command. Unfortunately the
parsing logic isn't very smart, and now mis-interprets the old argument
format, and breaks literally everything written against older versions
that used the `options` kv dict.
This commit adds a kludge that uses the right variant depending on the
mpv version.
2024-04-20 12:48:58 +02:00
Elias Müller
d26f801cec
Update CI pipeline ( #271 )
...
* Trigger on pull request
* run on ubuntu-latest
* run on 3.11 + 3.12 also
* upgrade actions
* upgrade libmpv
* use libmpv-v3 on Windows
* disable fail-fast behavior
* replace pytest with unittest
Using pytest, we run into access violation errors on Windows.
They disappear when we use the unittest module.
2024-01-29 16:52:42 +01:00
jaseg
b6ab5a4ab0
play_bytes: Add docstring.
2024-01-22 11:55:03 +01:00
jaseg
4e76f01ecc
mpv.py: Add play_bytes convenience function
2024-01-22 11:53:02 +01:00
jaseg
141ec7d372
mpv.py: Add play_context convenience function
2024-01-22 11:53:02 +01:00
jaseg
c52a07e862
Version 1.0.5
2023-11-18 11:57:40 +01:00
jaseg
b42f79a4f1
Make release script properly update version in mpv.py
2023-11-18 11:57:25 +01:00
jaseg
93cf60e109
Add libmpv-2.dll to windows library search list
2023-11-18 11:45:07 +01:00
naglis
0bfd64d1f1
Fix typo in README
2023-10-12 10:12:32 +02:00
jaseg
fa3b0fdad1
Version 1.0.4
2023-07-22 16:04:20 +02:00
jaseg
03947f272b
Add missing fields to MpvEventEndFile
2023-07-22 14:37:52 +02:00
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