1
0
mirror of https://github.com/mpv-player/mpv synced 2025-05-04 17:19:29 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
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