This module picks the best subtitle from OpenSubtitles' search result. Created by @janlay
OpenSubtitles's search result
- language: Required. Format should be recognized by OpenSubtitles like
"en","zh","zh-CN" - group: Optional. Movie's release group name
It outputs the picked file_id if best subtitle matched, otherwise, nothing output.
jq -n --argjson accepts_ssa 1 --argjson accepts_srt 1 --arg group EVO --arg language zh \
'import "./opensubtitles" as OpenSubtitles; input | OpenSubtitles::pick_best'- You may want to change the imported file path.
- For the
haltusage,-noption is required.