From cde85c3afef0711245ff729963ceb76f28d1c3b4 Mon Sep 17 00:00:00 2001 From: Lawrence Angrave <4468456+angrave@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:37:33 -0500 Subject: [PATCH 1/2] Update kaltura.py Include session type during authentication --- PythonRpcServer/kaltura.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PythonRpcServer/kaltura.py b/PythonRpcServer/kaltura.py index 4120461..273c18b 100644 --- a/PythonRpcServer/kaltura.py +++ b/PythonRpcServer/kaltura.py @@ -97,7 +97,7 @@ def getClient(self, partnerId, tokenId, appToken): # generate token hash from ks + appToken tokenHash = hashlib.sha256(result.ks.encode('ascii')+appToken.encode('ascii')).hexdigest() # start an app token session - result = client.appToken.startSession( tokenId, tokenHash, '', '', expiry) + result = client.appToken.startSession( tokenId, tokenHash, '', KalturaSessionType.ADMIN, expiry) client.setKs(result.ks) return client,result.ks # Returns dict of Media information for a specific media From 037223c63354069818f711abb1045df175b7c97e Mon Sep 17 00:00:00 2001 From: Lawrence Angrave Date: Wed, 21 Aug 2024 14:10:26 -0500 Subject: [PATCH 2/2] 8.0.201 -> 8.0.401 --- ClassTranscribeServer/global.json | 2 +- TaskEngine/global.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ClassTranscribeServer/global.json b/ClassTranscribeServer/global.json index 4100a4a..a679dd1 100644 --- a/ClassTranscribeServer/global.json +++ b/ClassTranscribeServer/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "8.0.201" + "version": "8.0.401" } } \ No newline at end of file diff --git a/TaskEngine/global.json b/TaskEngine/global.json index 4100a4a..a679dd1 100644 --- a/TaskEngine/global.json +++ b/TaskEngine/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "8.0.201" + "version": "8.0.401" } } \ No newline at end of file