#2545·OpenCLI

bilibili subtitle: expose track-type metadata (cc vs ai) in output

Author: dayn9tCreated Sep 25, 2026Updated Sep 25, 2026

Summary

When logged in, opencli bilibili subtitle <bvid> returns the default subtitle track, but the output does not indicate which type of track it is. For many UP loaders the default track is the AI-generated track, not a human CC track — and the interface gives no way to tell them apart.

Why this matters

AI-generated tracks carry systematic transcription errors (Chinese homophone substitutions, corrupted English proper nouns like "Claude" → "cloud"). Downstream content processing (summarization, note extraction) needs to know the track source to apply the right correction strategy.

Current workaround requires one extra request per video: fetch --lang ai-zh and diff the contents against the default track — identical content means the default track is the AI track. Across a recent batch job (13 agents, 300+ videos) this added 130+ redundant API calls and is the single most common pain point of the pipeline.

Suggestion

Expose track-type metadata in the output, e.g.:

  • track_type: "cc" | "ai" field on the JSON output, or
  • a source field per subtitle entry

The data should already be available from Bilibili's subtitle list API (the lan doc entry / ai-zh marker on the track list).

Environment

  • opencli 1.8.8, bilibili adapter (COOKIE strategy)