summaryrefslogtreecommitdiff
path: root/mpv.py
AgeCommit message (Collapse)AuthorFilesLines
2024-08-14Windows: Improve DLL loading error messagesjaseg1-1/+9
2024-08-14Fix quit and quit_watch_later commandsjaseg1-2/+8
2024-07-15Add API to set dict-valued propertiesjaseg1-1/+4
2024-06-21Version 1.0.7v1.0.7jaseg1-1/+1
2024-06-21Fix race condition in property observer code leading to ↵jaseg1-14/+19
futures.InvalidStateError Previously, prepare_and_wait_for_property was slightly confused on the lifetime of that future. This closes #282
2024-04-20Version 1.0.6v1.0.6jaseg1-1/+1
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-22play_bytes: Add docstring.jaseg1-0/+1
2024-01-22mpv.py: Add play_bytes convenience functionjaseg1-0/+11
2024-01-22mpv.py: Add play_context convenience functionjaseg1-0/+37
2023-11-18Version 1.0.5v1.0.5showjaseg1-1/+1
2023-11-18Add libmpv-2.dll to windows library search listjaseg1-9/+3
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-03-30Add __version__ field to modulejaseg1-0/+2
Closes #248.
2023-02-26Add tests and fix error handling for stream callbacksjaseg1-9/+19
2023-02-26Add cross-thread exception handling for event loop and stream callbacksjaseg1-33/+89
2023-02-26Update license header with dual-license informationjaseg1-7/+9
Closes #206
2022-08-16Fix typo in repr format stringjaseg1-1/+1
fixes #231
2022-07-11Fix show_text level default parameterElias Müller1-1/+1
2022-06-17Fix `observe_property()` docstringNaglis Jonaitis1-5/+5
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-17Error for known-incompatible libmpv (closes #223)James Gerity1-0/+5
2022-04-24Add cancel handling to streamsjaseg1-12/+9
2022-04-24Add event queue overflow handlingjaseg1-19/+32
2022-04-22Finish event infrastructure rework.jaseg1-6/+6
2022-04-22Finish rewriting event infrastructurejaseg1-3/+8
2022-04-22Continue reworking event infrastrucutre.jaseg1-25/+58
Note: We do not decode property values by default anymore.
2022-04-22Update event wrapper classesjaseg1-47/+41
2022-04-22Remove deprecated libmpv APIjaseg1-29/+11
2022-04-22add albumart arg to video_addjaseg1-2/+2
2022-04-20Remove MpvSubApi wrapperDepFA1-3/+0
2022-04-20Remove dropped mpv-2 api methods.DepFA1-19/+3
2022-04-18Add some useful input commandsjaseg1-0/+9
2022-04-18Add keyword argument command interfacejaseg1-8/+44
2022-04-18Update copyright headersjaseg1-8/+7
2022-04-17Add missing new event typesjaseg1-0/+2
2022-04-17Add future-based async command APIjaseg1-37/+46
2022-04-17mpv.py: add default error handler for failed async commandsElias Müller1-9/+27
2022-04-17mpv.py: add support for asynchronous commandsElias Müller1-4/+48
2022-04-17Default to node_command and rename old command to string_commandjaseg1-2/+5
2022-04-17mpv.py: change mpv_detach_destroy to mpv_destroyKira1-2/+2
2022-04-17porcelain: Add fancy wait_for_event/property future handlingjaseg1-27/+39
2022-03-26Add timeouts and error forwarding to wait_for_{property,event} conditionsjaseg1-40/+61
2022-03-26use daemon = True instead of setDaemonjaseg1-1/+1
2021-07-28Fix handling of c_void_p args in MpvRenderParam.__init__()Marcel Moreaux1-0/+3
Handling of c_void_p args (x11_display, wl_display) was broken. Added a case to correctly handle the c_void_p constructor case. See https://github.com/jaseg/python-mpv/issues/169
2021-01-19mpv.py: update: Use ctypes.memmove to speed uphixz001-1/+1
2020-07-25Fixing typo in keep_playlist causing NameErrorDziqs1-1/+1
2020-07-19mpv.py: terminate: Raise warning when called from event thread.jaseg1-4/+7
2020-07-19mpv.py: add wait_for_shutdownjaseg1-0/+11