summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* webvtt: Fix WebVTT timestamps.David Thompson2015-02-151-1/+1
| | | | | * srt2vtt/webvtt.scm (write-time): Format time components with correct number of digits.
* subrip: Fix reversed subtitle lines.David Thompson2015-02-151-1/+1
| | | | | * srt2vtt/subrip.scm (read-subrip): Reverse lines when finished parsing to preserve the correct order.
* subrip: Convert time components from strings to numbers.David Thompson2015-02-151-1/+2
| | | | * srt2vtt/subrip.scm (parse-time): Convert matched components to numbers.
* Bump to version 0.2.David Thompson2015-02-151-1/+1
|
* subrip: Throw errors when reading invalid timestamps.David Thompson2015-02-071-5/+9
| | | | | * srt2vtt/subrip.scm (parse-time, parse-time-span): Throw error when regexp doesn't match.
* Modularize!David Thompson2015-02-0710-100/+249
| | | | | | | | | | | | | | * .gitignore: Ignore build artifacts. * Makefile.am: Compile Guile modules. * bootstrap: New file. * configure.ac: Create pre-inst-env. * pre-inst-env.in: New file. * scripts/srt2vtt: New file. * srt2vtt: Remove. * srt2vtt.scm: New file. * srt2vtt/subrip.scm: New file. * srt2vtt/ui.scm: New file. * srt2vtt/webvtt.scm: New file.
* Check for EOF when reading subtitle lines.David Thompson2015-02-051-3/+4
| | | | * srt2vtt (read-sub-rip): Test for EOF object.
* Allow auto-compilation for now.David Thompson2015-02-051-1/+1
| | | | * srt2vtt: Remove '--no-auto-compile' flag.
* Accept blank lines as valid subtitles.David Thompson2015-01-251-1/+3
| | | | * srt2vtt (read-sub-rip): Allow the first subtitle line to be blank.
* Add docstrings.David Thompson2015-01-081-0/+22
| | | | * srt2vtt: Add docstrings to important procedures.
* Add full GPLv3 text.David Thompson2015-01-081-0/+674
| | | | * COPYING: New file.
* Add blank line after WebVTT signature.David Thompson2015-01-081-1/+1
| | | | * srt2vtt: Add blank line between signature and first subtitle.
* Fix copyright statement copy/paste error.David Thompson2015-01-081-1/+1
| | | | * srt2vtt: s/Haunt/srt2vtt/
* First commit.David Thompson2015-01-075-0/+238