|
|
|
|
|
by KiwiCoder
1955 days ago
|
|
Never touched Haskell before, but found that path separators were needed to get this working (on WSL with Ubuntu if it matters) For example - capsPath <- getFullPath (T.unpack (coerce dir <> coerce videoName <> ".en.vtt"))
+ capsPath <- getFullPath (T.unpack (coerce dir <> "/" <> coerce videoName <> ".en.vtt"))
Needed to apply the same change in a few places.Also found --sub-langs en
doesn't work if the videos has for example en-CA as the subtitle language.And finally, youtube-dlc seems to inconveniently discard the VTT file, breaking glancer, unless you specify `-k` to keep the file. |
|
Subs: that's kind of known, I need to provide the option to the user to choose sub language in weird cases. I'll try to find a way.
VTT file: oh, that's definitely new, is not the case with the version I have installed. I'll have a look ASAP and add this parameter.