refactor(preflight): 移除音轨判定与补轨/改默认音轨相关代码

- 不再检测默认音轨、不再提供 add_ac3 / fix_default_audio / 改默认标志
- 音频信息仅保留在报告 audio_codecs 列,不参与 verdict
- 同步移除 [Compatibility] auto_add_ac3 / direct_audio / auto_fix_default_audio /
  backup_dir / refresh_jellyfin_after_prep 及 TaskManager 的 prepare 阶段
- DV Profile 7 不再算 TRANSCODE(视频可去 DV 元数据直传),仅 DV5 需 tonemap
This commit is contained in:
ali
2026-11-19 11:13:07 +08:00
parent 110dae7862
commit 38a0e5832c
5 changed files with 390 additions and 522 deletions
+2 -4
View File
@@ -74,7 +74,7 @@ class ParserService:
return m_type, title, year, season_num, target_season_folder, root_dir_path, f"{title.replace('.', ' ')} ({year})"
@staticmethod
def get_target_info(f_path: Path, m_type: str, title: str, year: str, season_num: str, is_multi_version: bool = False, audio_tag: str = None):
def get_target_info(f_path: Path, m_type: str, title: str, year: str, season_num: str, is_multi_version: bool = False):
tags = MediaInfoService.get_scene_tags(f_path)
tmdb = TMDBService.search_media(title, year, m_type, season_num)
@@ -87,9 +87,7 @@ class ParserService:
tid = f"[tmdbid-{tmdb['tmdb_id']}]" if (tmdb and config.INCLUDE_TMDB_ID) else ""
source = "BluRay.REMUX" if tags['is_remux'] else "WEB-DL"
# 预补 AC3 时,命名按处理后的音轨来(避免写入真实文件不存在的音轨)
audio_info = audio_tag or tags['a_info']
tech = f"{tags['res']}.{source}.{tags['v_codec']}.{tags['bits']}.{audio_info}"
tech = f"{tags['res']}.{source}.{tags['v_codec']}.{tags['bits']}.{tags['a_info']}"
target_folder = f"{title.replace('.', ' ')} ({year}) {tid}".strip()