As already anticipated in a previous post (the previous one for the records) during the last period I have been working on an application to automatically download video’s subtitles. I basically did it because the app I was using before stopped being free and started asking for an outrageous amount of money (19,99$ is honestly to much to save time when downloading subtitles… I’d rather write my own app instead…)
I’m now prod to say that v1.0 of mySubtitles (this is the name of the app) is finally ready for sale in the App Store for just 0,99$ ( sorry it’s not for free but WWDC tickets are expensive! ). The app has been entirely developed using Swift 2.0 and is available for Mac OS X Yosemite and El Capitan users.
Before entering into details on how the app is working I’d like to thank opensubtitles.org ( and its amazing community ) which is the actual providers of the subtitles… my app is just making easier and faster to access its content.
As opensubtitles.org provide subtitles in many languages so does mySubtitles which, at the moment, support 49 different languages (just check in the settings section to select the desired language for the subtitles… by default it’s English).
How does mySubtitles manage to find the right subtitles? Well… the first thing it tries is a search by hash of the video file: basically the program, using a particular function that use the file video as input, generate a string (the hash) that should be unique for that particular video file and send it to opensubtitles.org which will look into its database for any subtitles file associated to that hash and return them.
Since this technique may lead to no results (because even though the movie or series I’m looking the subtitles for is famous the file that I own might not be that much widespread) or worse (there my be wrong subtitles associated to the hash) mySubtitles is not stopping there: it tries to understand if the file you are looking subtitles for is a tv series… and in case it is tries to extract series’ title, season and episode number from the file name to perform an aimed search into the opensubtitles.org database.
In the end, if the video is a movie or if it’s a series’ episode it was not possible to extract season and episode number from its name, the app tries a straightforward search by file name inside opensubtitles.org DB.
If even this last attempt I’m sorry but I’ll have to manually look somewhere else! I’m planning to add subscene.com in the future as a second content provider but for now it’s just an idea.
Once all the info about the available subtitles for the file are retrieved the app downloads automatically the first of the list (which should be a match by hash and thus has better chances to be a good one). In case the file is not good ( incorrect subtitles or non properly in sync for instance ) clicking on the “success” icon next to the video name it is possible to display a pop-over window listing all the available subtitles’ files… then is just a metter of pressing the “download” button next to each of them to download a different one.
I hope you will enjoy the app and keep in mind that I’ll continue work on it to improve the accuracy and add new features! If you want to try the app to review it or if you want to be part of the beta testing program (don’t have one yet but planning to start one) do not hesitate to contact me.