This commit is contained in:
2025-06-17 03:18:32 -07:00
parent 18aec0b78e
commit feb7fd6eca
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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)
+1 -1
View File
@@ -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)