-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic download subtitles #722
Conversation
This is similar to #677. For now, I don't think WebTorrent Desktop will include this feature in its core. Perhaps after the 1.0 release, we'll look into adding extensions such as these. |
# Conflicts: # src/renderer/controllers/subtitles-controller.js
@alamcordeiro Just a snack for thought; while the file is being downloaded, the checksum is bogus. So, if someone wanted to download subtitles for a video file that is still being downloaded, using the checksum is not an option. If I remember correctly, using SMPlayer to download subtitles while a file was being downloaded provided no results, so it made me think that this method was used. On the other hand, VLC's extension for downloading subtitles provides two methods for searching. One by checksum and one by filename. I think that the latter plays well too. |
The opensubtitle hash is based on size + 64bit cheksum of the first and last 64k of the file. |
@grunjol Thanks for the correction! Here is the source too: https://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes (a JavaScript implementation is also contained in the page). |
Thanks for the PR, but we're not going to add this feature to WebTorrent Desktop, because the legality of OpenSubtitles is not clear to us. Once there's a plugin system, I suppose you could build this as a plugin. But it's not something that should be a part of WebTorrent Desktop core. |
Okay, thanks |
@alamcordeiro Please develop a plugin. |
@septemberboy7, I contributed with a plugin system in this PR #1125 . @alamcordeiro, if #1125 gets approved maybe we can work together on the subtitles plugin. |
Excellent. I at disposal |
Automatic download subtitles from opensubtitles.
Based on checksum from movie files