mirror of
https://github.com/Matewoo/spotify-lyric-downloader.git
synced 2026-11-18 13:52:50 +01:00
Removed constant [00:00.00] markers in unsynced songs.
This commit is contained in:
+3
-1
@@ -195,6 +195,8 @@ oneline = oneline.replace('w[', 'w\n[')
|
||||
oneline = oneline.replace('x[', 'x\n[')
|
||||
oneline = oneline.replace('y[', 'y\n[')
|
||||
oneline = oneline.replace('z[', 'z\n[')
|
||||
oneline = oneline.replace('[00:00.00] {lyrics:{syncType:UNSYNCED,lines:[ ', '')
|
||||
oneline = oneline.replace('[00:00.00] ', '')
|
||||
|
||||
with open('output.lrc', 'w') as file:
|
||||
file.write(oneline)
|
||||
@@ -205,4 +207,4 @@ os.remove("timingsfixed.lrc")
|
||||
os.remove("timingsfixed.txt")
|
||||
|
||||
with open('lyrics.txt', 'w') as file:
|
||||
file.write("Lyrics go here")
|
||||
file.write("Lyrics go here")
|
||||
|
||||
Reference in New Issue
Block a user