mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
fix for lrc files
This commit is contained in:
1 parent
574347f5ea
commit
9bc8b39085
1 file changed
+1
-1
@@ -1075,7 +1075,7 @@ def should_skip_file(file_path: str, transcribe_language: LanguageCode) -> bool:
|
||||
|
||||
# 1. Check for existing LRC files for audio files
|
||||
if isAudioFileExtension(file_ext) and lrc_for_audio_files:
|
||||
lrc_path = f"{file_name}.lrc"
|
||||
lrc_path = os.path.join(os.path.dirname(file_path), f"{file_name}.lrc")
|
||||
if os.path.exists(lrc_path):
|
||||
logging.info(f"Skipping {base_name}: LRC file already exists at {lrc_path}")
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user