docs
This commit is contained in:
@@ -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)
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user