A library for parsing .lrc files
Project description
A python library for parsing and converting .lrc files
Usage
import pylrc
lrc_file = open('example.lrc')
lrc_string = ''.join(lrc_file.readlines())
lrc_file.close()
subs = pylrc.parse(lrc_string)
subs.shift(minutes=1, seconds=13, milliseconds=325) # offset by 01:13.325
srt = subs.toSRT() # convert lrc to srt string
lrc_string = subs.toLRC() # convert to lrc string
Installation
sudo pip install pylrc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylrc-0.0.2.tar.gz
(3.2 kB
view hashes)