Commit Graph

72 Commits

Author SHA1 Message Date
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
Koushik Dutta
328cf1536e server: add hack (?) to fix gst plugin search path on darwin 2022-06-12 14:20:27 -07:00
Koushik Dutta
c5bc9a0dab server: support api from other domains 2022-06-05 23:53:19 -07:00
Koushik Dutta
29e787b1e6 server: fix self.* calls on ScryptedDeviceBase 2022-04-09 13:05:56 -07:00
Koushik Dutta
bd565cb2db server: potential process leak fix 2022-04-01 14:13:45 -07:00
Koushik Dutta
95e2e8a42c server: fix error spam and dangling mixin crashes on plugin uninstall 2022-03-28 20:24:06 -07:00
Koushik Dutta
de4bbe3b42 server: add python storage api 2022-03-27 13:52:47 -07:00
Koushik Dutta
adcd11d785 server: add python process stats 2022-02-14 12:34:43 -08:00
Koushik Dutta
49d044c771 server: thread implementation fix, python should create a glib main loop. 2022-02-07 19:05:13 -08:00
Koushik Dutta
ca64b58d4f server/sdk: fix bugs from decouple sdk and types 2022-02-05 14:26:20 -08:00
Koushik Dutta
1c1e7268c1 server: remove unused file 2022-01-20 23:09:14 -08:00
Koushik Dutta
77bc27aded general pending changes 2022-01-13 23:27:37 -08:00
Koushik Dutta
a8647e9d18 server: fix python memory leak 2022-01-10 21:23:28 -08:00
Koushik Dutta
1e25a39650 server: python gc runner 2022-01-09 23:11:14 -08:00
Koushik Dutta
92d575dec9 server: kill python plugin on read loop error 2022-01-07 09:58:22 -08:00
Koushik Dutta
8555aa0653 remove unused imports 2022-01-07 00:51:21 -08:00
Koushik Dutta
a01c86d822 server: use unzipped plugin path where possible (python) 2022-01-06 21:43:05 -08:00
Koushik Dutta
a1034f0828 zip: remove memory pressure from keeping zip in memory 2022-01-06 17:22:12 -08:00
Koushik Dutta
577b00a090 server: rpc error traceback 2022-01-04 15:03:22 -08:00
Koushik Dutta
d644fe1122 server: fix race condition around rpc object finalization 2021-12-16 22:11:29 -08:00