jaseg
f229268d4d
Version 0.5.2
2020-07-25 23:42:54 +02:00
Dziqs
035e1db1db
Fixing typo in keep_playlist causing NameError
2020-07-25 23:42:26 +02:00
jaseg
d1f304ab92
tests: Make test srt path relative to test script
2020-07-21 08:41:06 +02:00
jaseg
170f15d390
Make tests run when called through setup.py from root dir
2020-07-21 08:37:00 +02:00
Louis-Philippe Véronneau
2b66d0d97b
Move test files into a 'tests' dir
2020-07-21 08:32:47 +02:00
jaseg
e29e042998
Version 0.5.1
2020-07-20 14:20:10 +02:00
jaseg
1f2b0058b3
mpv.py: terminate: Raise warning when called from event thread.
2020-07-19 22:34:24 +02:00
jaseg
e85342a147
mpv.py: add wait_for_shutdown
2020-07-19 22:33:56 +02:00
jaseg
d6840f800e
mpv.py: add check_core_alive, check core in __getattr__, __setattr__
2020-07-19 22:33:42 +02:00
jaseg
e98a91ed2b
Bump version to v0.5.0
...
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-19 21:56:39 +02:00
jaseg
dae47345f7
tests: add tests for new wait_* API
2020-07-19 21:54:49 +02:00
jaseg
583f12ed63
mpv.py: add prepare_and_wait_for_property
2020-07-19 21:54:40 +02:00
jaseg
632a87af49
mpv.py: Update copyright date
2020-07-19 21:13:36 +02:00
jaseg
0ea4622fb7
mpv.py: Add docstrings to new additions to API
2020-07-18 14:28:46 +02:00
jaseg
846f2a65ae
Sprinkle some thread safety over event loop, add *wait_for_event
2020-07-18 14:21:31 +02:00
jaseg
ad68ec5927
mpv.py: improve shutdown handling, replace wait_for_playback
2020-07-18 00:06:04 +02:00
jaseg
cc368710bd
Bump version to v0.4.8
2020-07-16 21:06:06 +02:00
jaseg
47b5a27d2c
README: add video overlay example
2020-07-16 19:28:53 +02:00
jaseg
759b9701c3
mpv.py: add wait_until_paused, wait_until_playing
2020-07-16 19:28:33 +02:00
jaseg
7362f663c1
mpv.py: Add overlay support
2020-07-16 15:01:35 +02:00
jaseg
44ca94749a
tests: rename test.srt to sub_test.srt to prevent auto-load
2020-07-16 15:01:23 +02:00
jaseg
b68a03c9d0
mpv.py: add some missing commands
2020-07-16 13:02:14 +02:00
jaseg
d177064d12
tests: improve key binding tests with loopback test
2020-07-16 13:01:52 +02:00
jaseg
9c33d0117e
tests: Fix test_log_handler for current master
...
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-15 22:04:37 +02:00
jaseg
400053e8d3
tests: Fix TestLifecycle.test_options for current mpv master
2020-07-15 22:04:03 +02:00
jaseg
3fe42bfd9d
tests: Fix test_instance_method_property_observer ( #108 )
...
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-15 22:04:03 +02:00
jaseg
f5a9690739
tests: Fix test_property_observer_decorator ( #108 )
2020-07-15 22:03:37 +02:00
jaseg
b54d5f5521
tests: Fix test_write for segaults in libmpv ( #108 )
2020-07-15 22:03:37 +02:00
YoSTEALTH
e6abadec7e
added "python_requires"
...
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-15 22:03:37 +02:00
Louis-Philippe Véronneau
b4f5b10699
remove superfluous whitespaces
2020-07-15 22:03:37 +02:00
jaseg
db644cd74e
Bump version to v0.4.7
2020-07-12 13:30:39 +02:00
jaseg
50294b7f2f
README: Add detail on subtitle handling
2020-07-12 13:28:38 +02:00
jaseg
c3eef35f59
Fix handling of dashed options in loadfile.
...
Add tests based on --sub-file. Also add a test for sub_add here.
2020-07-12 13:27:53 +02:00
Peter Kuchar
3ef4ecf765
update README with inserting subtitles
2020-07-11 22:56:57 +02:00
jaseg
0013328ff2
Add release script
2020-04-05 13:27:37 +02:00
jaseg
2c75f23623
Version v0.4.6
2020-04-05 12:49:21 +02:00
jaseg
068d034cc0
Make tests run headless using xvfbwrapper
2020-04-05 12:47:34 +02:00
jaseg
4eb105a751
Add some high-level API information to README
2020-04-01 14:27:27 +02:00
jaseg
c1df201b26
README: Add info on GUI modes
...
Closes #102
2020-01-24 12:23:04 +01:00
jaseg
fc775920de
README: add render context gtk example
2020-01-03 01:11:23 +01:00
jaseg
3c21d679da
Initial libmpv/render.h mapping
...
For an example using this with GTK see:
https://gist.github.com/jaseg/657e8ecca3267c0d82ec85d40f423caa
2020-01-03 01:08:16 +01:00
Elias
3205f1b6f8
Add GTK/OpenGL example ( #100 )
...
* Add GTK/OpenGL example
2020-01-03 01:06:36 +01:00
jaseg
dde7da1aec
Version 0.4.5
2019-12-04 09:49:05 +01:00
jaseg
63f9b74247
Windows: Use cytpes.load_library to look for DLL
2019-12-04 09:48:16 +01:00
jaseg
3452ac87bc
Version 0.4.4
2019-12-03 23:48:19 +01:00
ripdog
62ef265e2d
Allow mpv-1.dll to be placed in python script directory ( #96 )
...
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-03 23:47:47 +01:00
jaseg
9d9c2b26f3
Version 0.4.2
2019-12-02 13:32:08 +01:00
jaseg
c7e0968d60
tests: Silence libmpv during unittests
2019-12-02 13:31:43 +01:00
jaseg
c7a50aec38
Fix Python 3.5 compatibility
2019-12-02 12:32:33 +01:00
jaseg
91067fcbd8
Version 0.4.1
2019-12-01 21:27:59 +01:00