Commit Graph

91 Commits

Author SHA1 Message Date
Koushik Dutta
fa8056d38e python: purge packages on update 2023-03-29 10:18:34 -07:00
Koushik Dutta
c1c5a42645 server: fixup versioned prefix/node_modules path 2023-03-28 19:36:39 -07:00
Koushik Dutta
2c23021d40 server: catch/print startup errors to console and not just events tab 2023-03-27 09:37:29 -07:00
Koushik Dutta
a613da069e server: relax failure on python arch mismatch 2023-03-25 19:45:05 -07:00
Koushik Dutta
ef16ca83a2 server: detect python architecture vs machine mismatch 2023-03-25 18:42:39 -07:00
Koushik Dutta
99995ea882 server: start watchdog/stats after plugin dependency installation completes 2023-03-25 09:27:04 -07:00
Koushik Dutta
6772419ccf rpc: async iterator close should happen silently 2023-03-24 20:19:41 -07:00
Koushik Dutta
59f3c2e3ad server: add mechanism to force pip/npm install rerun on upgrade 2023-03-22 13:54:04 -07:00
Koushik Dutta
59008fb964 server: fix bug where python async generator aclose is not called on rpc objects 2023-03-21 21:16:08 -07:00
Koushik Dutta
a19f356a66 server: start python plugins outside of exception handling if gi is unavailable 2023-03-18 14:25:27 -07:00
Koushik Dutta
997a4732ec server: additional python rpc transport fixes 2023-03-17 23:21:07 -07:00
Koushik Dutta
77399038e9 server: clean up python rpc transports 2023-03-17 22:21:07 -07:00
Koushik Dutta
d979b9ec0c server: connection.poll should provide None to block forever 2023-03-17 19:16:15 -07:00
Koushik Dutta
e13f3eb2f1 server: add python forked processes to stats 2023-03-16 23:59:01 -07:00
Koushik Dutta
9ba22e4058 server: fix python rpc kill handling 2023-03-16 20:33:09 -07:00
Koushik Dutta
b33422b066 server: fix python fork hangs 2023-03-15 01:28:01 -07:00
Koushik Dutta
e2e1c7be44 server: remove python log statement 2023-03-14 23:47:05 -07:00
Koushik Dutta
ba030ba197 server: fix multiprocessing blocking read on linux 2023-03-14 23:45:06 -07:00
Koushik Dutta
45bd3cbb7c server: fix various python mutiprocesisng quirks 2023-03-14 10:21:45 -07:00
Koushik Dutta
8e34bc2130 server: fix dangling thread if glib main loop fails 2023-03-14 09:18:00 -07:00
Koushik Dutta
f9d6308154 rpc: python rpc should be killed on disconnect 2023-03-13 17:10:06 -07:00
Koushik Dutta
940d4b7fd4 rpc: various python fixes 2023-03-12 22:09:50 -07:00
Koushik Dutta
1e004d6700 rpc: fixup various async iterator bugs, add memoryview support to python 2023-03-11 19:38:43 -08:00
Koushik Dutta
601cd39ba4 rpc: fix proxied iterator proxy 2023-03-10 21:38:48 -08:00
Koushik Dutta
2bd3592aad server: fix mediaobject polymorphism 2023-03-10 19:46:38 -08:00
Koushik Dutta
44346d5b33 server: fix python rpc connect 2023-03-03 23:34:15 -08:00
Koushik Dutta
19da68884b server: implement python connectRPCObject 2023-03-03 23:17:43 -08:00
Koushik Dutta
096c036ea2 rpc: implement python async iterator 2023-03-02 21:03:29 -08:00
Koushik Dutta
f359a7167a server: nuke python prefix prior to install to purge old conflicting deps 2023-02-28 21:53:15 -08:00
Koushik Dutta
4b6fd5b5a8 server: remove debug logging 2023-02-28 20:20:17 -08:00
Koushik Dutta
2d4357e4c0 server: preserve MediaObject name in constructor 2023-02-28 11:17:58 -08:00
Koushik Dutta
44af4ce006 server: rename to plugin_remote.py 2023-02-16 23:26:59 -08:00
Koushik Dutta
282707cf4a sdk/server: wip python fork 2023-02-16 22:52:47 -08:00
Koushik Dutta
1f2a3f7aea sdk: initial stubs for python multiprocessing 2023-02-16 09:45:39 -08:00
Brett Jia
4ab8efdc49 Update python cpu reporting (#552)
The scrypted web ui looks to be reading from `cpu`:
64f696599c/plugins/core/ui/src/components/plugin/PluginStats.vue (L67)
and is being published on the nodejs side as `cpu`:
227b287f1e/server/src/plugin/plugin-remote-worker.ts (L21)

Might need to change this as well?
cc43273f34/server/src/plugin/plugin-host.ts (L59)
2023-02-11 18:47:53 -08:00
Koushik Dutta
e910374019 server: better python memory usage tracking 2023-01-13 22:46:31 -08:00
Koushik Dutta
4e78cc250a server: fix python unzip prefix 2023-01-04 23:48:57 -08:00
Koushik Dutta
358d267db3 server: update python remote to new api 2023-01-04 16:22:01 -08:00
Koushik Dutta
f951c5b049 server: fix python plugin device state getter 2023-01-04 15:01:04 -08:00
Koushik Dutta
f3c1b3cd16 various: minor cleanups 2023-01-04 13:56:42 -08:00
Koushik Dutta
227b287f1e server: properly send serverVersion across during call to getRemote 2023-01-02 20:22:56 -08:00
Koushik Dutta
2294d2f22d server: cleanup old dependencies on runtime version change 2022-12-11 12:51:08 -08:00
Koushik Dutta
30d64c0f96 server: fix python plugin request restart failure 2022-12-02 10:33:02 -08:00
Koushik Dutta
cf43e5ec9f server: log python startup crashesg 2022-10-05 21:43:53 -07:00
Koushik Dutta
cfefa838a4 server: Fix python media object and buffer serialization bugs 2022-09-25 22:18:52 -07:00
Koushik Dutta
b1cf82ccc1 server: lock file descriptor usage before sending message to prevent data corruption 2022-09-23 20:02:10 -07:00
Koushik Dutta
fbbc177e11 server: fix python rpc finalizer. 2022-09-23 07:48:06 -07:00
Koushik Dutta
0f5f72e354 server: create python media objects in the python runtime 2022-09-21 22:21:12 -07:00
Koushik Dutta
a4582da683 server: improve python rpc buffer wrangling 2022-09-21 21:53:38 -07:00
Koushik Dutta
a8675479c6 server: fix python plugins on windows 2022-07-01 13:22:36 -07:00