Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

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

Caitlin McCabeCaitlin 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.