Skip to content

Command-line automatic subtitle downloader

Notifications You must be signed in to change notification settings

luismaf/AutomagicSubs

 
 

Repository files navigation

AutomagicSubs: Forked by luismaf form vrokolos ([email protected]) VrokSub

This c# (.net) open source command line utility will downloads subtitles for your movies, rename your movies using a customized format, create folders for your movies and download imdb covers and details. You just pass a folder path and a preferred language list and it searches for subtitles using your avi files. It uses opensubtitles for the search and it requires the .net 2 framework runtimes which you probably already have.


Usage:

AutomagicSubs "[Folder Path]" [Language Code Sequence] [Params]

Folder Path: The path to the folder that has all your movies. AutomagicSubs will search all subfolders of this path for movies.

Language Code Sequence: A sequence of two letter language codes according to your preference separated by coma. By default will be use the language set in config file. AutomagicSubs will search subtitles of the first language code and if it doesn't find one it will continue to the next code. You can find the two letter codes here: http://www.loc.gov/standards/iso639-2/php/code_list.php.

Params:

 /nolangtag will not add the language to the subtitile filename
 /rename will rename all the movies for which AutomagicSubs has found a subtitle using the format found in config file
 /newonly will only try to locate subtitles for movies without subtitles and ignore the ones that have subtitles
 /nfo will download data from imdb.com (like actors, directors etc) and save them to a nfo file named like your movie
 /covers will download the cover images imdb uses and save them to a jpg file named like your movie
 /folders will create a folder for each movie and move all files there. If /covers is used with this then a folder.jpg will also be created
 /nosubfolders will not search every subfolder of the given folder for movie files
 /move="[Output Path]" will move all files and folders to the given path. Useful if combined with folders

Examples (Windows):
AutomagicSubs.exe "c:\my videos"
This will use the default language set in AutomagicSub.exe.config. 

AutomagicSubs.exe "c:\my videos" es,en
This will first try to locate a spanish subtitle for every movie in c:\my videos (including subfolders) and if it doesn't find one it will try to find one in english. You can use more language codes if you'd like.

AutomagicSubs.exe "c:\my videos" it /rename
 will also rename all movies where subtitle has been found with year and cd number: MovieName(Year)-CD2.avi

AutomagicSubs.exe "c:\my videos" de /newonly
 will only search for subtitles for movies that don't have one already.

AutomagicSubs.exe "c:\unsubbedvideos" nl /rename /folders /nfo /covers /move="c:\my videos"
 1) Creates a folder for each movie under c:\my videos with the name format found in AutomagicSubs.exe.config
 2) Renames each movie using the format found in AutomagicSubs.exe.config
 3) Downloads dutch subtitles for each movie
 4) Downloads imdb details and saves them to the output folder
 5) Downloads imdb covers and saves them to the output folder as folder.jpg and movie.jpg
 Note: Only movies with found subtitles will be affected

Example (Linux):
mono AutomagicSubs.exe "c:\my videos"



About

Command-line automatic subtitle downloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 59.3%
  • Assembly 39.9%
  • C 0.8%