code: async function getSubtitles (file) {
    for (const provider of SUBTITLES_PROVIDERS) {
      try {
        return await provider.getSubtitles(file)
      } catch (err) {
        console.error(`Subtitles not found on ${provider.name}`)
      }
    }
  }
docs: Get subtitles for the given file.
  
  Call each provider one by one until we actually find subtitles.
  
  @param {string} file - path to a file
  @returns {Promise<string>} the subtitles, formatted as .srt