Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Using shell commands to download subtitles

webnull edited this page Oct 3, 2012 · 2 revisions

Subget as have a little shell functionality which allows listing or downloading subtitles. It also includes "watch with subtitles" function.

subget for GNU/Linux. Simple Subtitle Downloader for shell and GUI.
Usage: subget [long GNU option] [option] first-file, second-file, ...


 --help                : this message
 --console, -c         : show results in console, not in graphical user interface
 --language, -l        : specify preffered language
 --quick, -q           : grab first result and download
 --watch-with-subtitles, -w : don't run main window, just run player directly after successful subtitles download

Simple downloading in selected language

1. Listing avaliable languages

Subget is loading in "pl_PL" language.
03/10/2012 23:13:35, main: Developer mode
Avaliable languages:
 cz, fr, nl, tr, da, en, se, sr, ro, sc, el, es, it, de, he, sl, bg, dk, fi, hr, pl, ru, hu, pt

2. Downloading subtitles in selected language

# -l pl (polish language)
# -c (use console interface)
# -q (download first result)
subget -l pl -c -q example.ogv

If subget will not find any subtitles matching your language it will download in another language and put it to file with (lang) prefix.

Watch with subtitles

This is pretty easy. All you need is to use -w option.

subget -w file.mp4