Welcome to the Panopto Community

Check if a session has captions (2019-11-21)

Cait McCabeCait McCabe Administrator

Original Post: Cristiano Maria Cumer, November 21, 2019 at 9:24 AM

Hi,

I'm wondering if there is a way of checking given a session guide if it's already has captions.

Responses

Cristiano Maria Cumer, November 21, 2019 at 9:25 AM

Right now I'm doing it this way, but this is far from optimal:

def sessionHasCaptions(guid):

sessionAuthInfo = processvideos.getSessionauthinfo()

sessionclient = processvideos.getSessionclient()

try:

sessionclient.service.UploadTranscript(sessionAuthInfo, guid, "wrong format should be uploaded ok but not processed")

return False

except:

return True


Hiroshi Ohno, Moderator, December 2, 2019 at 10:58 AM

Hi Cristiano,

Thank you for asking it. Unfortunately, we do not provide the information you asked from our public API (either SOAP or REST). When we provide our caption related feature as REST API in the future, we'll make sure that may be retrieved from there.

Tagged:
Sign In or Register to comment.