An open API service indexing awesome lists of open source software.

https://github.com/samuelgursky/srt-tools

adding native support for SRT files in Google Sheets
https://github.com/samuelgursky/srt-tools

app-script google google-app-script srt srt-subtitles subtitles

Last synced: 1 day ago
JSON representation

adding native support for SRT files in Google Sheets

Awesome Lists containing this project

README

          

# srt-tools

## Getting Started

Follow the step-by-step tutorial below to learn how to set up and use the script to edit your existing SRTs in Google Sheets.

### Tutorial Steps

#### Step 1: Create a new document within Google Sheets.
![Step 1](Images/01_Screenshot-2024-06-16-at-7.55.35-PM.png)

#### Step 2: In the top bar, click "File" > "Import".
![Step 2](Images/02_Screenshot-2024-06-16-at-7.55.56-PM.png)

#### Step 3: Select "Upload" and then "Browse" to select your files.
![Step 3](Images/03_Screenshot-2024-06-16-at-7.56.02-PM.png)

#### Step 4: Import the "srt-tools.xlsx" template downloaded from this Repository.
![Step 4](Images/04_Screenshot-2024-06-19-at-8.48.42-AM.png)

#### Step 5: I would personally "Replace Current Spreadsheet" but ultimately this is up to you.
![Step 5](Images/05_Screenshot-2024-06-16-at-7.56.14-PM.png)

#### Step 6: Here's your template!
![Step 6](Images/06_Screenshot-2024-06-16-at-7.57.50-PM.png)

#### Step 7: Select from the top bar "Extensions" > "Apps Script"
![Step 7](Images/07_Screenshot-2024-06-16-at-7.57.52-PM.png)

#### Step 8: Here's your Apps Script interface.
![Step 8](Images/08_Screenshot-2024-06-16-at-7.58.14-PM.png)

#### Step 9: Navigate to "srt-tools.gs" within this Repository.
![Step 9](Images/Screenshot_2024-06-21_at_11-47-45_AM.png)

#### Step 10: Copy contents of "srt-tools.gs"
![Step 10](Images/Screenshot_2024-06-21_at_11-47-46_AM.png)

#### Step 11: Paste within your Apps Script and Save.
![Step 11](Images/11_Screenshot-2024-06-16-at-7.58.22-PM.png)

#### Step 12: Click "Run" to initialize your Apps Script.
![Step 12](Images/12_Screenshot-2024-06-16-at-7.58.38-PM.png)

#### Step 13: Authorization is required to allow your services within Google to access each other.
![Step 13](Images/13_Screenshot-2024-06-16-at-7.58.55-PM.png)

#### Step 14: Review and click "Allow" to continue once you've thoroughly reviewed and understand.
![Step 14](Images/14_Screenshot-2024-06-16-at-7.59.22-PM.png)

#### Step 15: Once you see this screen, you're all set and can return to Google Sheets.
![Step 15](Images/15_Screenshot-2024-06-16-at-7.59.49-PM.png)

#### Step 16: Refresh and you'll see this new custom menu option.
![Step 16a](Images/16a_Screenshot-2024-06-16-at-8.00.00-PM.png)
![Step 16b](Images/16b_Screenshot-2024-06-16-at-8.00.03-PM.png)

#### Step 17: Custom Menu Option - Show Upload Instructions
![Step 17](Images/17_Screenshot-2024-06-16-at-8.00.13-PM.png)

#### Step 18: Custom Menu Option - Process Uploaded SRTs
![Step 18a](Images/18a_Screenshot-2024-06-16-at-8.00.42-PM.png)
![Step 18b](Images/18b_Screenshot-2024-06-16-at-8.00.54-PM.png)

#### Step 19: Custom Menu Option - Export Active Sheet as SRT
![Step 19a](Images/19a_Screenshot-2024-06-16-at-8.01.04-PM.png)
![Step 19b](Images/19b_Screenshot-2024-06-16-at-8.01.10-PM.png)

#### Note: All of your files related to this will live in a directory called "SRT" on Google Drive.
![Note](Images/Screenshot_2024-06-21_at_11-57-33_AM.png)