1.1.3 • Published 8 years ago

subcinode v1.1.3

Weekly downloads
54
License
-
Repository
-
Last release
8 years ago

subcinode

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.

Installation

Install with NPM:

npm install subcinode --global

Documentation

subcinode -useSubs -langs=<String> -recursive=<Boolean> -extensions=<String> -path=<String> -save -debug
OptionsTypeDefaultDescription
langsString'all'Comma-separated value to specify the langs to download. Default is 'all'. See below for valid values for languages.
recursiveBooleantrueIf true, navigates through all folders under the current one.
useSubsBooleanfalseIf true, subtitles are saved under a 'subs/' folder. Otherwise, they are same in the same folder as the video file.
extensionsString'mp4,mkv,avi'Comma-separated value of the extensions to search for.
pathStringCurrent shell directoryIf specified, looks for video files under that path.
saveStringIf -save is specified, the current settings will be saved as default.
debugStringIf -debug is specified, more information is given in the console.
settingsStringIf -settings is specified, subcino shows the current settings ( and terminates ).

Valid languages

LanguageValue
Englisheng
Italianoita
Frenchfre
Germanger
Spanishspa
Arabicara
Afrikaansafr
Albanianalb
Armenianarm
Basquebaq
Belarusianbel
Bengaliben
Bosnianbos
Bretonbre
Bulgarianbul
Burmesebur
Catalancat
Chinese (simplified)chi
Croatianhr
Czechcze
Danishdan
Dutchdut
Esperantoepo
Estonianest
Finnishfin
Galicianglg
Georgiangeo
Greekell
Hebrewheb
Hindihin
Hungarianhun
Icelandicice
Indonesianind
Japanesejpn
Kazakhkaz
Khmerkhm
Koreankor
Latvianlav
Lithuanianlit
Luxembourgishltz
Macedonianmac
Malaymay
Malayalammal
Mongolianmon
Norwegiannor
Occitanoci
Persianper
Polishpol
Portuguesepor
Portuguese (BR)pob
Romanianrum
Russianrus
Serbianscc
Sinhalesesin
Slovakslo
Slovenianslv
Swahiliswa
Swedishswe
Syriacsyr
Tamiltam
Telugutel
Thaitha
Turkishtur
Ukrainianukr
Urduurd
Vietnamesevie

Usage Examples

Search all subtitles with the default settings.

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"

Search with specific settings and save them as default

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.

Show the current settings ( and terminate the program )

subcinode -settings

Changelog

Version 1.1.3

  • Fixed dependency problems

Version 1.1.2

  • Fixed endsWith problem for some users

Version 1.1.1

  • Removed unnecessary files

Version 1.1.0

  • Added subtitle parsing
  • Added -settings parameter

Version 1.0.1

  • Minor documentation fixes.

Version 1.0.0

  • Major version bump
  • Fixed -langs settings bug
  • Added possibility to set default settings.

Version 0.0.7

  • Renamed package as subcinode.

Version 0.0.6

  • Major refactoring.

Version 0.0.5

  • Added license, documentation, readme, changelog and authors.
  • Fixed multiple bugs.

Version 0.0.4

  • Minor fixes to allow npm package installed globally.

Version 0.0.3

  • Implemented complete workflow

Version 0.0.2

  • Added directory tree navigation

Version 0.0.1

  • Preliminary tests with nodeJS and npm

License

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.

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago