summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
33 hoursAdd support for libmpv's new args to key binding handlersmainjaseg1-8/+12
This changes the API, check your code if you use key bindings.
33 hoursUse callback id() instead of frame hash() to identify anonymous python streamsjaseg1-9/+18
Frame hashes are not unique since the frame isn't kept around for the life time of the stream. Fixes #292.
2024-08-25Tests: Fix race condition in test_wait_for_property_concurrencyjaseg1-3/+3
2024-08-14Windows: Look for mpv.dll next to mpv.pyjaseg2-9/+22
2024-08-14Windows: Improve DLL loading error messagesjaseg1-1/+9
2024-08-14Fix quit and quit_watch_later commandsjaseg1-2/+8
2024-07-16Add test for dict-valued propertiesjaseg1-0/+5
2024-07-15Add API to set dict-valued propertiesjaseg1-1/+4
2024-06-21Version 1.0.7v1.0.7jaseg2-2/+2
2024-06-21Fix race condition in property observer code leading to ↵jaseg2-15/+40
futures.InvalidStateError Previously, prepare_and_wait_for_property was slightly confused on the lifetime of that future. This closes #282
2024-05-16pyproject.toml: Update python version classifiers, bump min to 3.9jaseg1-3/+3
2024-05-16README: Clarify Python version supportjaseg1-5/+3
2024-04-20Version 1.0.6v1.0.6jaseg2-2/+2
2024-04-20Fix loadfile for mpv v0.38.0jaseg1-2/+11
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-01-29Update CI pipeline (#271)Elias Müller2-12/+19
* 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-22play_bytes: Add docstring.jaseg1-0/+1
2024-01-22mpv.py: Add play_bytes convenience functionjaseg2-0/+29
2024-01-22mpv.py: Add play_context convenience functionjaseg2-0/+57
2023-11-18Version 1.0.5v1.0.5showjaseg2-2/+2
2023-11-18Make release script properly update version in mpv.pyjaseg1-1/+1
2023-11-18Add libmpv-2.dll to windows library search listjaseg1-9/+3
2023-10-12Fix typo in READMEnaglis1-1/+1
2023-07-22Version 1.0.4jaseg1-1/+1
2023-07-22Add missing fields to MpvEventEndFilejaseg1-0/+2
2023-07-22Add field "playlist_entry_id" to MpvEventEndFileCarsen Yates1-3/+6
2023-06-03Add 'self' to mouse functionsdaqo1-1/+1
2023-06-03Replace xvfbwrapper with PyVirtualDisplayMichał Górny3-18/+18
Fixes #249
2023-03-30Add __version__ field to modulejaseg2-2/+11
Closes #248.
2023-02-27Version v1.0.3v1.0.3jaseg1-1/+1
2023-02-27Move to new old pypi project namejaseg2-2/+2
2023-02-26Add tests and fix error handling for stream callbacksjaseg2-9/+128
2023-02-26Add cross-thread exception handling for event loop and stream callbacksjaseg1-33/+89
2023-02-26Fix release script for new packaging workflowjaseg1-3/+3
2023-02-26Version v1.0.2v1.0.2jaseg1-1/+1
2023-02-26Update license header with dual-license informationjaseg1-7/+9
Closes #206
2023-02-26Update package metadatajaseg1-2/+2
2022-11-27Migrate away from setup.py and use PEP 612-style pyproject.tomlLouis-Philippe Véronneau3-42/+39
Closes #240.
2022-08-16Update setup.cfg for new syntaxjaseg1-1/+1
fixes #230
2022-08-16Fix typo in repr format stringjaseg1-1/+1
fixes #231
2022-07-11tests: Add strategic sleeps to reduce likelihood of race condition during ↵jaseg1-1/+6
test teardown
2022-07-11Fix package upgradeElias Müller1-1/+2
2022-07-11Cleanup pipelineElias Müller1-10/+15
2022-07-11Run Windows tests on Python 3.8 - 3.10Elias Müller1-2/+2
2022-07-11Make mpv-2.dll availableElias Müller1-0/+1
2022-07-11Skip Python 3.7Elias Müller1-1/+2
2022-07-11Add Windows testElias Müller1-0/+35
2022-07-11Run on Python 3.7 - 3.10Elias Müller1-2/+1
2022-07-11Rename jobElias Müller1-1/+2
2022-07-11Use newer actionsElias Müller1-2/+2
2022-07-11Skip unreliable test in CIElias Müller2-18/+22