Skip to content
forked from doakey3/pylrc

A python library for parsing and converting .lrc files

License

Notifications You must be signed in to change notification settings

johnyoonh/pylrc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLRC

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

About

A python library for parsing and converting .lrc files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%