README: Update installation instructions.
[srt2vtt.git] / srt2vtt.scm
1 ;;; srt2vtt --- SRT to WebVTT converter
2 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
3 ;;;
4 ;;; srt2vtt is free software; you can redistribute it and/or modify it
5 ;;; under the terms of the GNU General Public License as published by
6 ;;; the Free Software Foundation; either version 3 of the License, or
7 ;;; (at your option) any later version.
8 ;;;
9 ;;; srt2vtt is distributed in the hope that it will be useful, but
10 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
11 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ;;; General Public License for more details.
13 ;;;
14 ;;; You should have received a copy of the GNU General Public License
15 ;;; along with srt2vtt.  If not, see <http://www.gnu.org/licenses/>.
16
17 (define-module (srt2vtt)
18   #:use-module (srfi srfi-9)
19   #:export (make-subtitle
20             subtitle?
21             subtitle-id
22             subtitle-start
23             subtitle-end
24             subtitle-text))
25
26 (define-record-type <subtitle>
27   (make-subtitle id start end text)
28   subtitle?
29   (id subtitle-id)
30   (start subtitle-start)
31   (end subtitle-end)
32   (text subtitle-text))