modify scripts

This commit is contained in:
2025-12-29 14:41:40 +08:00
parent 2dd3d44419
commit 39c5c6d526

View File

@ -108,7 +108,7 @@ def sync_whisper_to_stash(whisper_db_path, stash_db_path, dir_prefix, studio_fil
# 在whisper数据中查找匹配项
matched = False
for whisper_code, whisper_row in idx_whisper.items():
if whisper_code and basename and str(whisper_code) in basename:
if whisper_code and basename and str(whisper_code).lower() in basename.lower():
# 找到匹配项更新stash数据库
matched = True
matched_cnt += 1