input: 
  def download_subtitles(releases, engines=[DEFAULTS['subtitle_engine']], lang=DEFAULTS['subtitle_language']):
      """Command-line function to download subtitles for movies and TV shows.
      It takes one or more release paths, an optional list of subtitle engines, 
      and an optional language code. The function attempts to download the
      subtitles for each release path using the specified engine(s) and language.
  
      >>> download_subtitles(['/path/to/movie1', '/path/to/movie2'], ['engine1', 'engine2'], 'en')
      """
  
output:     for release in releases:
          for engine in engines:
              try:
                  # Attempt to download subtitles using the current engine
                  subtitles = download_subtitles_with_engine(release, engine, lang)
                  if subtitles:
                      save_subtitles(release, subtitles)
                      break  # Subtitles found, no need to try other engines
              except Exception as e:
                  print(f"Failed to download subtitles for {release} using {engine}: {e}")
          else:
              print(f"No subtitles found for {release} using any of the specified engines.")