# ------------------------------------------
# 定义中间产出文件
# ------------------------------------------

# 核心数据文件 - 新的重构接口
_ASR_RESULT = "output/asr_result.json"
_SPLIT_RESULT = "output/split_result.json"  # 新增：语义切割结果
_TRANSLATE_RESULT = "output/translate_result.json"
_AUDIO_TASKS = "output/audio_tasks.json"
_DUB_CHUNKS = "output/dub_chunks.json"  # 新增：配音块配置
_SUB_FINAL = "output/final_trans.srt"
_DUB_FINAL = "output/dub_final.wav"

# 保留的原有文件
_2_CLEANED_CHUNKS = "output/log/cleaned_chunks.xlsx"  # ASR模块仍需要
_4_1_TERMINOLOGY = "output/log/terminology.json"     # 术语提取仍需要

# 删除的文件路径（不再使用）
# _3_1_SPLIT_BY_NLP = "output/log/split_by_nlp.txt"  
# _3_2_SPLIT_BY_MEANING = "output/log/split_by_meaning.txt"
# _4_2_TRANSLATION = "output/log/translation_results.xlsx"
# _5_SPLIT_SUB = "output/log/translation_results_for_subtitles.xlsx"  
# _5_REMERGED = "output/log/translation_results_remerged.xlsx"
# _8_1_AUDIO_TASK = "output/audio/tts_tasks.xlsx"


# ------------------------------------------
# 定义音频文件
# ------------------------------------------
_OUTPUT_DIR = "output"
_AUDIO_DIR = "output/audio"
_RAW_AUDIO_FILE = "output/audio/raw.mp3"
_VOCAL_AUDIO_FILE = "output/audio/vocal.mp3"
_BACKGROUND_AUDIO_FILE = "output/audio/background.mp3"
_AUDIO_REFERS_DIR = "output/audio/refers"
_AUDIO_SEGS_DIR = "output/audio/segs"
_AUDIO_TMP_DIR = "output/audio/tmp"

# ------------------------------------------
# 导出
# ------------------------------------------

__all__ = [
    # 新的核心数据文件
    "_ASR_RESULT",
    "_SPLIT_RESULT",
    "_TRANSLATE_RESULT", 
    "_AUDIO_TASKS",
    "_DUB_CHUNKS",
    "_SUB_FINAL",
    "_DUB_FINAL",
    # 保留的原有文件
    "_2_CLEANED_CHUNKS",
    "_4_1_TERMINOLOGY",
    # 目录路径
    "_OUTPUT_DIR",
    "_AUDIO_DIR",
    "_RAW_AUDIO_FILE",
    "_VOCAL_AUDIO_FILE",
    "_BACKGROUND_AUDIO_FILE",
    "_AUDIO_REFERS_DIR",
    "_AUDIO_SEGS_DIR",
    "_AUDIO_TMP_DIR"
]
