metube/ui/src/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
..
components 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
interfaces feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00
pipes implement tests 2026-03-20 13:12:31 +02:00
services Add auto download and pause resume controls 2026-05-25 16:28:15 +08:00
app.config.ts code review fixes 2026-03-15 20:53:13 +02:00
app.html feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00
app.sass fix: Fixed audio file suffix when quality is 'best' and minor UI fixes 2026-05-07 07:25:54 +08:00
app.spec.ts fix: Codex review P2 issues + frontend test failure 2026-05-25 20:09:17 +08:00
app.ts feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00
theme.ts feat(frontend): modernize Angular app 2025-12-15 01:56:47 +01:00