From feb7fd6eca856304eddf49523595113be2a78905 Mon Sep 17 00:00:00 2001 From: Rufei Zhou Date: Tue, 17 Jun 2025 03:18:32 -0700 Subject: [PATCH] docs --- README.md | 1 + txtlyric_to_lrc/main.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 91f6f1f..15addcd 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,5 @@ poetry install ## TODO * detect musical interludes (might already be possible in stable-ts) +* connect with lyric retrieval services * support elrc word timings (need to check navidrome and subsonic clients won't throw a fit) \ No newline at end of file diff --git a/txtlyric_to_lrc/main.py b/txtlyric_to_lrc/main.py index b44db3d..091f9ee 100644 --- a/txtlyric_to_lrc/main.py +++ b/txtlyric_to_lrc/main.py @@ -29,7 +29,7 @@ def main(model, language, directory): if any([ file_is_audio(f) for f in filenames ]): # audio files exist here, so let's process this folder for f in filenames: - if get_file_extension(f) in song_file_extensions: + if file_is_audio(f): filename = os.path.join(dirpath, f) # get corresponding txt file name # (we expect unaligned files to have the same filename as the song, except for the extension)