quark-auto-save/app
x1ao4 d550de4e9f 修复当 TMDB 上集的 air_date 被删除时 air_date_local 未同步清空的问题
问题描述:
- 当 TMDB 上某一集的播出日期被删除后,本地数据库的 air_date 会在刷新时被清空
- 但对应的 air_date_local 没有被清空,导致已播出集数计算不准确

修复内容:
- 修改 update_episodes_air_date_local 函数,在所有三个分支中添加对 air_date 为空的处理
- 当 air_date 为空时,自动清空对应的 air_date_local
- 确保 air_date_local 始终与 air_date 保持一致

影响范围:
- 修复后,当 TMDB 上集的播出日期被删除时,air_date_local 会被正确清空
- is_episode_aired 函数会正确返回 False,已播出集数计算会及时更新
2025-12-25 10:55:37 +08:00
..
sdk 新增剧集播出日期偏移功能 2025-12-16 15:27:51 +08:00
static 为模态框统一添加取消按钮 2025-12-23 17:33:29 +08:00
templates 为模态框统一添加取消按钮 2025-12-23 17:33:29 +08:00
utils 新增基于 Trakt 精确播出时间的本地时区已播出统计与显示及相关优化 2025-12-12 18:17:20 +08:00
run.py 修复当 TMDB 上集的 air_date 被删除时 air_date_local 未同步清空的问题 2025-12-25 10:55:37 +08:00