aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fair-viewer
diff options
context:
space:
mode:
authortrizen <trizen@protonmail.com>2020-09-09 15:33:20 +0300
committerJesús <heckyel@hyperbola.info>2020-09-14 11:06:49 -0500
commit06b67e37a7a591ec844bd454033042e6bb198734 (patch)
tree2b2135981c25e2c167add4199c09842b1bf3cf69 /bin/fair-viewer
parent0ba7b35af0acd66807996abcf81d62517f4ad796 (diff)
downloadfair-viewer-06b67e37a7a591ec844bd454033042e6bb198734.tar.lz
fair-viewer-06b67e37a7a591ec844bd454033042e6bb198734.tar.xz
fair-viewer-06b67e37a7a591ec844bd454033042e6bb198734.zip
Reuse the "WWW::FairViewer" in "WWW::FairViewer::GetCaption".
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'bin/fair-viewer')
-rwxr-xr-xbin/fair-viewer1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer
index b1a9c4b..8468f28 100755
--- a/bin/fair-viewer
+++ b/bin/fair-viewer
@@ -3051,6 +3051,7 @@ sub get_streaming_url {
captions_dir => $opt{cache_dir},
captions => $captions,
languages => $CONFIG{srt_languages},
+ yv_obj => $yv_obj,
);
$srt_file = $yv_cap->save_caption($video_id);
}