Your subs, now from your console.
Subcino(de) is a npm package to automatically download the correct subtitles for your video files. It is the node version of Subcino.
It is completely free, and does not require registration. Basically, it is a legit wrapper for Open Subtitles APIs.
Install with NPM:
npm install subcinode --global
subcinode -useSubs -langs=<String> -recursive=<Boolean> -extensions=<String> -path=<String> -save -debug
Options | Type | Default | Description |
---|---|---|---|
langs | String | 'all' | Comma-separated value to specify the langs to download. Default is 'all'. See below for valid values for languages. |
recursive | Boolean | true | If true, navigates through all folders under the current one. |
useSubs | Boolean | false | If true, subtitles are saved under a 'subs/' folder. Otherwise, they are same in the same folder as the video file. |
extensions | String | 'mp4,mkv,avi' | Comma-separated value of the extensions to search for. |
path | String | Current shell directory | If specified, looks for video files under that path. |
save | String | If -save is specified, the current settings will be saved as default. |
|
debug | String | If -debug is specified, more information is given in the console. |
|
settings | String | If -settings is specified, subcino shows the current settings ( and terminates ). |
Language | Value |
---|---|
English | eng |
Italiano | ita |
French | fre |
German | ger |
Spanish | spa |
Arabic | ara |
Afrikaans | afr |
Albanian | alb |
Armenian | arm |
Basque | baq |
Belarusian | bel |
Bengali | ben |
Bosnian | bos |
Breton | bre |
Bulgarian | bul |
Burmese | bur |
Catalan | cat |
Chinese (simplified) | chi |
Croatian | hr |
Czech | cze |
Danish | dan |
Dutch | dut |
Esperanto | epo |
Estonian | est |
Finnish | fin |
Galician | glg |
Georgian | geo |
Greek | ell |
Hebrew | heb |
Hindi | hin |
Hungarian | hun |
Icelandic | ice |
Indonesian | ind |
Japanese | jpn |
Kazakh | kaz |
Khmer | khm |
Korean | kor |
Latvian | lav |
Lithuanian | lit |
Luxembourgish | ltz |
Macedonian | mac |
Malay | may |
Malayalam | mal |
Mongolian | mon |
Norwegian | nor |
Occitan | oci |
Persian | per |
Polish | pol |
Portuguese | por |
Portuguese (BR) | pob |
Romanian | rum |
Russian | rus |
Serbian | scc |
Sinhalese | sin |
Slovak | slo |
Slovenian | slv |
Swahili | swa |
Swedish | swe |
Syriac | syr |
Tamil | tam |
Telugu | tel |
Thai | tha |
Turkish | tur |
Ukrainian | ukr |
Urdu | urd |
Vietnamese | vie |
subcinode
Search all English and Italian subtitles for any MP4 or AVI video file in the User Downloads folder, not recursively.
subcinode -langs=eng,ita -recursive=false -extensions=mp4,avi -path="/Users/my.user/Downloads"
subcinode -save -langs=eng,ita -recursive=false -extensions=mp4
So, from that moment on, it is possible to write
subcinode
to perform the search with the default saved settings.
subcinode -settings
- Fixed dependency problems
- Fixed endsWith problem for some users
- Removed unnecessary files
- Added subtitle parsing
- Added -settings parameter
- Minor documentation fixes.
- Major version bump
- Fixed -langs settings bug
- Added possibility to set default settings.
- Renamed package as subcinode.
- Major refactoring.
- Added license, documentation, readme, changelog and authors.
- Fixed multiple bugs.
- Minor fixes to allow npm package installed globally.
- Implemented complete workflow
- Added directory tree navigation
- Preliminary tests with nodeJS and npm
The MIT License (MIT)
Copyright (c) 2015 Alessandro Piana
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.