subtitle_it 0.7.7 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/License.txt +2 -2
- data/README.txt +31 -24
- data/Rakefile +21 -4
- data/VERSION +1 -0
- data/bin/subtitle_it +25 -20
- data/lib/subtitle_it/formats/ass.rb +1 -1
- data/lib/subtitle_it/formats/mpl.rb +4 -4
- data/lib/subtitle_it/formats/rsb.rb +9 -9
- data/lib/subtitle_it/formats/sub.rb +16 -15
- data/lib/subtitle_it/formats/xml.rb +5 -5
- data/lib/subtitle_it/languages.rb +14 -10
- data/lib/subtitle_it/movie.rb +1 -2
- data/lib/subtitle_it/subdown.rb +52 -33
- data/lib/subtitle_it/subtime.rb +19 -15
- data/lib/subtitle_it/version.rb +3 -3
- data/lib/subtitle_it.rb +9 -0
- data/spec/fixtures/pseudo.rsb +2 -2
- data/spec/spec_helper.rb +2 -8
- data/spec/subtitle_it/formats/sub_spec.rb +15 -15
- data/spec/subtitle_it/formats/xml_spec.rb +24 -24
- data/spec/subtitle_it/subdown_spec.rb +76 -36
- data/subtitle_it.gemspec +110 -24
- metadata +53 -44
- data/.autotest +0 -19
- data/README.markdown +0 -41
- data/spec/spec.opts +0 -1
data/README.markdown
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
h1. Subtitle It
|
2
|
-
|
3
|
-
Ruby tool to work with subtitle files.
|
4
|
-
|
5
|
-
h1. FEATURES:
|
6
|
-
|
7
|
-
* Converts to and from: SRT, SUB, XML(TT), YML, MPL2, RSB and ASS.
|
8
|
-
* Fixes delays. (SrtResync)
|
9
|
-
|
10
|
-
h2. TODO:
|
11
|
-
|
12
|
-
* Compatibility with "sube" (http://github.com/vic/sube)
|
13
|
-
* Download subtitles. (http://github.com/johanlunds/downsub/tree)
|
14
|
-
|
15
|
-
h1. SYNOPSIS:
|
16
|
-
|
17
|
-
Bash tool:
|
18
|
-
|
19
|
-
Convert a srt to sub:
|
20
|
-
subtitle_it in.srt out.sub
|
21
|
-
|
22
|
-
Add a delay of 1 minute:
|
23
|
-
subtitle_it -d 60 in.srt
|
24
|
-
|
25
|
-
Create a template
|
26
|
-
subtitle_it unexistent.file
|
27
|
-
|
28
|
-
|
29
|
-
h1. INSTALL:
|
30
|
-
|
31
|
-
sudo gem install SubtitleIt
|
32
|
-
|
33
|
-
|
34
|
-
h1. THE "Ruby Subtitle" Format - RSB
|
35
|
-
|
36
|
-
It`s just a easy way, proof of concept to edit subtitles. Here is what it looks like:
|
37
|
-
|
38
|
-
00:32 => 00:33 == Nice police work! | Thank you!
|
39
|
-
MM:SS => N == TEXT | NEWLINE
|
40
|
-
|
41
|
-
Create a template to check it out.
|
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--colour
|