Jimakusupa is a fork from clojuresubs wrapping subtitleConverter for some features that clojuresubs doesn't support. If you want to process subtitle files in ClojureScript, use clojuresubs instead.
[]
(https://clojars.org/jimakusupa)
user=> (use 'jimaku.supa)
user=> (def subs "1
00:00:20,000 --> 00:00:24,400
Altocumulus clouds occur between six thousand
2
00:00:24,600 --> 00:00:27,800
and twenty thousand feet above ground level.")
user=> (-> (parse :srt subs) (shift 1000) serialize-subrip print) ; miliseconds
;=>1
;00:00:21,000 --> 00:00:25,400
;Altocumulus clouds occur between six thousand
;
;2
;00:00:25,600 --> 00:00:28,800
;and twenty thousand feet above ground level.- Wrap subtitleconvert for everything that clojuresubs doesn't support.
- The wrapped forms will be gradually replaced with Clojure implementations, until subtitleconvert is completely removed.
- Finally, jimakusupa will be ported to ClojureScript
- Read and write SubRip (
*.srt) files - Shift by given amount of time
- Read SubStation Alpha (
*.ass,*.ssa) files
- Write SubStation Alpha (
*.ass,*.ssa) files - Port to ClojureScript
Copyright (C) 2014 Carlos C. Fontes.
Double licensed under the Eclipse Public License (the same as Clojure) or the Apache Public License 2.0.