diff --git a/plugins/python-codecs/package-lock.json b/plugins/python-codecs/package-lock.json index 4b7b0a0f30..e434e2a64c 100644 --- a/plugins/python-codecs/package-lock.json +++ b/plugins/python-codecs/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/python-codecs", - "version": "0.1.95", + "version": "0.1.96", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@scrypted/python-codecs", - "version": "0.1.95", + "version": "0.1.96", "devDependencies": { "@scrypted/sdk": "file:../../sdk" } diff --git a/plugins/python-codecs/package.json b/plugins/python-codecs/package.json index 5e75e33d95..b078b7736c 100644 --- a/plugins/python-codecs/package.json +++ b/plugins/python-codecs/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/python-codecs", - "version": "0.1.95", + "version": "0.1.96", "description": "Python Codecs for Scrypted", "keywords": [ "scrypted", diff --git a/plugins/python-codecs/src/main.py b/plugins/python-codecs/src/main.py index 93b0d2fcd6..c411fa3bd0 100644 --- a/plugins/python-codecs/src/main.py +++ b/plugins/python-codecs/src/main.py @@ -1,6 +1,7 @@ import asyncio import time import traceback +import os from typing import Any, AsyncGenerator, List, Union import scrypted_sdk @@ -202,7 +203,7 @@ def multiprocess_exit(): class CodecFork: - def timeoutExit(): + def timeoutExit(self): print("Frame yield timed out, exiting pipeline.") multiprocess_exit()