songs2slides

A tool that automatically finds song lyrics and creates lyric slideshows
git clone https://git.ashermorgan.net/songs2slides/
Log | Files | Refs | README

commit 42219c50af76449f14724891799a1e5d68757c1c
parent a726f5b33ceeba5393f80ea1dd9bd3324ff91304
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Wed, 13 May 2020 07:43:05 -0700

Fix space before commas bug.

Diffstat:
MSongs2Slides/models.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Songs2Slides/models.py b/Songs2Slides/models.py @@ -49,6 +49,9 @@ def ParseLyrics(title, artist, settings): if (settings["remove-parentheses"]): rawLyrics = re.sub(r'\([^)]*\)', '', rawLyrics) + # Remove extra spaces before commas + rawLyrics = rawLyrics.replace(" ,", ",") + # Parse Lyrics rawLines = rawLyrics.split("\n")