8lurry
fea5db26bb
python: optimize source, add feature
...
- lint
- better error message through check_error when mpv api(s) return with an error
- add function hook_add
- add function hook_continue
- add event handler for MPV_EVENT_HOOK
2025-04-09 13:43:16 +06:00
8lurry
e0ca98b378
python: optimize and debug
...
- debug mpv.command
- add class Ass
- add class OSDOverlay
- add function mpv.create_osd_overlay
- add function mpv.ass_new
- add function mpv.add_periodic_timer
- add function mpv.disable_timer
2025-04-07 16:58:52 +06:00
8lurry
864e06fc10
python: take measures for possible invalid unicodes
2025-04-06 19:53:07 +06:00
8lurry
9b82883389
python: optimize & update docs
2025-04-03 16:50:50 +06:00
8lurry
f214726cff
python: optimize and add feature
...
- update documentation
- update event handler signature
- optimize print_parse_error
- add function command_node_async
- add function command_node_async_callback
- add function abort_async_command
- optimize run_event_loop
- optimize observe_property
2025-04-02 19:07:44 +06:00
8lurry
ebd94cf5a2
python: add script autodeint
2025-03-29 19:38:11 +06:00
8lurry
f028d753ba
python: lint & debug makenode func & add acomressor script
2025-03-29 17:16:00 +06:00
8lurry
47733d83e6
python: add function mpv.register_event
2025-03-26 18:40:24 +06:00
8lurry
31fe208d7d
python: add mpv.add_timeout function
2025-03-26 12:34:08 +06:00
8lurry
90e1d6b06e
python: add function read_options
2025-03-24 17:44:15 +06:00
8lurry
9390c32482
python: lint
2025-03-21 18:05:45 +06:00
8lurry
2c13be3d6f
python: check codespell
2025-03-21 18:05:19 +06:00
8lurry
b8055ff67e
python: add mpv.get_opt
2025-03-20 21:53:51 +06:00
8lurry
bd64b5ce07
python: lint
2025-03-20 20:14:17 +06:00
8lurry
3f6cf429be
python: observe/unobserve properties
2025-03-19 21:12:36 +06:00
8lurry
8556c3ad7e
python: optimize, add doc & cleanup code
...
- Add a documentation string about mpv extension module
- check if the client.mpv instance is a valid mpvclient.Mpv instance
2025-03-19 19:52:31 +06:00
8lurry
35a09e1914
python: move context storage from extension_module to mpvclient/defaults
...
- keep extension module clean as it creates bunch of memory errors.
- pass mpvclient.mpv to each extension method from where we look up the
PyClientCtx object
2025-03-19 17:28:34 +06:00
8lurry
09b4b07ec7
python: lint
2025-03-12 18:44:56 +06:00
8lurry
be170ccb50
python: debug ref count and set error message
2025-03-10 15:43:12 +06:00
8lurry
27784f2fc3
python: add debug helper function print_ref_count
2025-03-09 19:52:06 +06:00
8lurry
3720670b97
python: a working solution
...
- remove mainloop stuff, no main loop needed, for, every client has
their own event loop.
- use mp_thread_create macro instead of pthread_create
2025-03-07 22:10:35 +06:00
8lurry
39acf60257
python: initial draft of second stage with per thread GIL
2025-03-03 16:46:03 +06:00