Importing video subtitles

For specific videos

To import video subtitles for specific videos into your development appserver, (for testing interactive transcripts, etc.) run the following code in the interactive console (localhost:8080/_ah/admin/interactive):

import video_models
import unisubs.handlers

videos = [video_models.Video.get_for_readable_id(readable_id)
          for readable_id in [


You can change the list of video IDs to load subtitles for any videos in the library.

For a whole bunch of videos

If you just want to batch import subtitles for a bunch or all the videos, hit http://localhost:8080/admin/unisubs, and click "Start Import Job". If you like, you can terminate the task queue early and go the datastore viewer to see for which videos subtitles were loaded.