This project aims to provide a simple API for accessing SubDB
We are proud to annouce now we have a GUI client to make it easy for anyone to use SubDB, you can download client with following links:
Just download, open, and drag your files on program window. It will work in same way as Command Line tool.
gem install subdb
Command Line Usage
You can simply use it by command line to sync your subtitles with SubDB, let’s say you have a folder called
~/Movies where all your movies are placed, you can do simple:
It will upload any subtitle that you already have to SubDB, and will try to download subtitles for movies that don’t already have a local one.
If you plan to use on your project, SubDB gem also provides a simple interface for it. You can figure it all with the following example:
file = Subdb::Video.new("path_to_your_movie.mp4") file.search # will retrieve a string with available languages (ex: "pt,en") or nil if don't have anyone file.download(["en", "pt"]) # will download the subtitle for given language, it tries in order of array file.upload("path_to_subtitle.str") # will upload a subtitle for this movie
It’s only this :)
If you are looking to help with project code, please checkout the
develop branch, the edge stuff is there.
- Main class
Subdbwas moved to
- Ability to drop files direct on Dock Icon (Mac Only)
- Display a list of downloaded subtitles at end of sync process