News for hackers. Stuff that matters.
Re:My 3 hour weekend project: Fix My Movie Subtitles by drivebyacct2 on Saturday December 24, 2011 @11:13PM (#3390416)
I had the reverse idea. A plugin for VLC that takes the MD5SUM of whatever file you're watching and looks for the matching/appropriate subtitle file and autoloads it.
Re:My 3 hour weekend project: Fix My Movie Subtitles by gsa on Sunday December 25, 2011 @12:58AM (#3390537)
SMPlayer [1] searches opensubtitles.org with a simple hash [2].

[1] http://smplayer.sourceforge.net/

[2] http://trac.opensubtitles.org/projects/opensubtitles/wiki/Ha...

Re:My 3 hour weekend project: Fix My Movie Subtitles by drivebyacct2 on Sunday December 25, 2011 @01:02AM (#3390540)
Fantastic. Thanks for this!
Re:My 3 hour weekend project: Fix My Movie Subtitles by gcr on Saturday December 24, 2011 @11:52PM (#3390467)
Not to pick nits, but I really don't want to compute the MD5SUM of a 4GB DVD before I can play it. Maybe hash the header or the metadata (if there is any) instead?
Re:My 3 hour weekend project: Fix My Movie Subtitles by altrego99 on Sunday December 25, 2011 @12:08AM (#3390490)
May be md5 the first hundred and last hundred mb's? Add 10 samples from the middle of the movie taken at equal distances calculated based on the size of the file.

Having said that I don't mind having to compute 4gb md5's, since that also helps me to check the integrity of the file at a later date.

Re:My 3 hour weekend project: Fix My Movie Subtitles by amadvance on Sunday December 25, 2011 @03:26AM (#3390701)
opensubtitles hashes only the initial and final 64kB.
Re:My 3 hour weekend project: Fix My Movie Subtitles by ckuijjer on Sunday December 25, 2011 @04:53AM (#3390789)
Another project that uses a hash to search for subtitles on opensubtitles.org is Periscope (see http://code.google.com/p/periscope/), a Python command line program that searches several subtitles websites.
Re:My 3 hour weekend project: Fix My Movie Subtitles by patd on Sunday December 25, 2011 @08:06PM (#3391951)
I made that project :) It uses hashes for OpenSubtitles and TheSubDB. It uses file names for other sources (Podnapisi, SubtitleSource, ...)
Re:My 3 hour weekend project: Fix My Movie Subtitles by ckuijjer on Monday December 26, 2011 @05:22AM (#3392682)
Thanks a lot for it! I really like it and use it almost daily.
Re:My 3 hour weekend project: Fix My Movie Subtitles by yason on Sunday December 25, 2011 @08:01AM (#3390963)
I use Totem's "Download subtitles", pick the one with the best rating, click "Play with subtitles", and most of the time it works out perfectly.