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.7.tar.gz
(3.4 kB
view details)
File details
Details for the file pylrc-0.0.7.tar.gz
.
File metadata
- Download URL: pylrc-0.0.7.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
33121d8ee7332c77f748082b65fe02346b57b95eeb5d047215278b7adb29f3c7
|
|
MD5 |
6e918b6bb21944426fcfd15d12a8dd8a
|
|
BLAKE2b-256 |
2e6b82de5d02a1262ce3ec821cf86b9f4304f62cf984e10519a0b3a04c706499
|