A program that converts a subtitle file into an .lrc
file
Currently supported input formats:
.srt
.vtt
One use case is to convert podcast subtitles to the lyrics format (.lrc), which can then be played on various portable music/media players
NAME:
subtitle-to-lrc - Convert subtitle files to .lrc format
USAGE:
subtitle-to-lrc [options] <input-file> [output-file]
<input-file> - the file must have an allowed subtitle extension (srt, vtt)
[output-file] - if not provided the program will use <input-file> filename with its extension replaced by .lrc
VERSION:
0.1.0
AUTHOR:
Cyprian Zdebski <cyprianz5mail@gmail.com>
GLOBAL OPTIONS:
--separator value, -s value Separator to use to join lines when input subtitle file has multiple lines;
.lrc files can only have one subtitle line for each timestamp (default: " ")
--no-length-limit, -n Disables the length limit of a .lrc file;
by default a .lrc file can only have a maximum length of 59:59.99
(some players may not support longer durations) (default: false)
--help, -h show help
--version, -v print the version
Windows 64-bit 32-bit (ARM: 64-bit 32-bit )
Linux 64-bit 32-bit (ARM: 64-bit 32-bit )
It's recommended that you use husky script, so that the versioning is correctly updated before pushing
go install github.com/automation-co/husky@latest
husky init