I have a directory of video files in my Google Drive that I would like to attach subtitles to, and keep the subtitles updated regularly.
I am aware that this can be achieved through the in-browser Google Drive interface, by manually right-clicking on each video to "Manage caption tracks" and then locating the subtitles file (format: .vtt
) in my Google Drive. However, I noticed that when I update the subtitles file later, the video does not "refresh" its access to it, but instead continues to display an older version of the subtitles .vtt file.
Is there a way to add and/or update the subtitles track using the Google Drive API? For background, I use PyDrive, and when I look at the GoogleDriveFile properties for one of my videos with subtitles, I don't see any parameters that look like the subtitles file or a link to the subtitles file, or any other parameters like the language code (en
for English, etc.).