tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Add source level options for subtitles

Open meeb opened this issue 4 years ago • 9 comments

As raised in #1 there should be some options to obtain subtitles automatically.

meeb avatar Dec 18 '20 00:12 meeb

Bumped. Needs a lot of testing.

meeb avatar Dec 18 '20 05:12 meeb

If this is implemented, after that can we get an option to go download and embed subtitles for already downloaded videos? :) Would be useful for old documentaries and other big videos to not redownload everything <3

Extarys avatar May 16 '21 22:05 Extarys

It isn't yet, sorry, but it is on the roadmap.

meeb avatar May 17 '21 05:05 meeb

Oh, I know! Just a thought :smiley: :hugs:

Extarys avatar May 17 '21 15:05 Extarys

Oh sorry, my mistake. I read that as "Is this implemented yet" for some reason. I don't think youtube-dl supports arbitrary merging of subtitles to existing video files so if this is possible it would likely require downloading the video again completely which is probably not what you want.

meeb avatar May 17 '21 16:05 meeb

No worries :)

I'm guessing a simple bash script to detect the video id, grab the subtitles and merge them with the existing video (or just move it and name it as the video file) could also work - and shift the burden away from you so you can work on something else.

I'll take a look and post the script here if/when I do this :)

Extarys avatar May 17 '21 17:05 Extarys

Has this gotten anywhere? If implemented, would it be able to retroactively get the subtitles for already downloaded media or would the source have to be purged and re-added?

tehniemer avatar Sep 18 '22 13:09 tehniemer

Hope there will be any development of this feature request at some point.

garret avatar Feb 07 '23 14:02 garret

I believe this is now a feature flag I can pass through to yt-dlp so it should be a lot easier, I'll re-review it.

meeb avatar Feb 08 '23 08:02 meeb