metube/app
TonyBlu 6d890021a6 feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI
P1 fixes:
- _subtitle_lang_list now extracts base language from qualified tags
  (e.g. zh-Hans → zh base) so regional variants are still added as
  fallbacks. Original input is preserved as first priority.
- DownloadInfo.__init__ now explicitly initializes filename=None and
  chapter_files=[] to avoid AttributeError on dynamic attribute access.
- __setstate__ adds filename=None migration for old persistent data.
- Frontend Download interface gains subtitle_files field; completed
  downloads show each subtitle file with download link and CC icon.

P2 improvements:
- _LANGUAGE_REGION_VARIANTS expanded from 10 to 30 languages covering
  it/ja/ko/hi/th/vi/id/pl/uk/ru/cs/sv/da/no/fi/tr/el/he/hu/bn/ta.
- Languages with no regional variants use empty tuple (they still get
  -orig suffix when include_orig=True).
2026-05-25 21:48:27 +08:00
..
tests feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00
dl_formats.py feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00
main.py Add auto download and pause resume controls 2026-05-25 16:28:15 +08:00
state_store.py add subscriptions; change persistence file format to JSON (closes #901, #76, #113, #170, #242, #444, #503, #555, #566) 2026-04-01 14:33:24 +03:00
subscriptions.py allow filtering out members-only videos in subscriptions (closes #971) 2026-04-28 22:02:05 +03:00
ytdl.py feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00