Hi,
More info is needed:
- Which server version are you working on? Also, is this Kaltura's SaaS [www.kaltura.com] or CE/OnPrem?
- Which version of the Python client lib are you running?
- How did you generate a KS? If you are on CE or OnPrem, you can decode the KS you have by going to Admin Console->system helper->check the 'KS' radio button, and input the KS in "String to manipulate:"
The result will be something like:
Kaltura_Client_KalturaInternalTools_Type_InternalToolsSession Object
(
[partner_id] => 102
[valid_until] => 1465050734
[partner_pattern] => 102
[type] => 2
[error] =>
[rand] => 1464964334
[user] => admin
[privileges] => disableentitlement
[relatedObjects] =>
)
KS valid until: 04/06 15:32:14
Time now: 1464964346 (03/06 15:32:26)
If you are working with Kaltura's SaaS, you can use the Kaltura CLI client lib by downloading:
http://cdnbakmi.kaltura.com/content/clientlibs/cli_14-05-2015.tar.gz
and following instructions in the README.
You will then be able to run:
and get something like:
partner_id
partner_pattern
valid_until 1465050899 = 2016-06-04 15:34:59 (will expire in 23 hours and 59 minutes)
type 2
rand 1464964499.4276
user admin
privileges disableentitlement
master_partner_id
additional_data