The subtitle status API and the UI now apply §15's rule, "pt-PT preferred, pt-BR accepted", the same way the daemon does. The rule moves to arr_core::subs::satisfies, and the daemon and missing_for both call it. The web side mirrors it in satisfiesWanted.
Before this, the daemon treated an embedded pt-BR track as satisfying pt-PT and never searched. The status API compared languages exactly, so it reported pt-PT · searching forever. The UI also left pt-BR out of the wanted chips. That's what Silo S03 showed: nine episodes with embedded pt-BR, all reading "pt-PT searching", and no pt-BR in view.
Verification
Prod /api/series/9/subtitles/status: E01–E03 and E05–E10 have embedded pt-BR, and missing is pt-PT · searching. The daemon log for the same files says pt-PT missing … an existing subtitle satisfies it.
New API test: embedded pt-BR drops pt-PT from missing.
<!-- claude-projects-attribution: {"github_login":"naps62"} -->
_Requested by **naps** · [project thread](https://claude.ai/code/project/chan_01UYLqY2bRGpRgeywoBE6jwE?thread=cmsg_01UYLqY2bRGpRgeywoBE6jwE7yDArkDjRqgeWPQBN76BJo)_
The subtitle status API and the UI now apply §15's rule, "pt-PT preferred, pt-BR accepted", the same way the daemon does. The rule moves to `arr_core::subs::satisfies`, and the daemon and `missing_for` both call it. The web side mirrors it in `satisfiesWanted`.
Before this, the daemon treated an embedded pt-BR track as satisfying pt-PT and never searched. The status API compared languages exactly, so it reported `pt-PT · searching` forever. The UI also left pt-BR out of the wanted chips. That's what Silo S03 showed: nine episodes with embedded pt-BR, all reading "pt-PT searching", and no pt-BR in view.
<details><summary>Verification</summary>
- Prod `/api/series/9/subtitles/status`: E01–E03 and E05–E10 have embedded `pt-BR`, and `missing` is `pt-PT · searching`. The daemon log for the same files says `pt-PT missing … an existing subtitle satisfies it`.
- New API test: embedded pt-BR drops pt-PT from `missing`.
- `just ci` passes: 838 tests, biome and tsc.
</details>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Requested by naps · project thread
The subtitle status API and the UI now apply §15's rule, "pt-PT preferred, pt-BR accepted", the same way the daemon does. The rule moves to
arr_core::subs::satisfies, and the daemon andmissing_forboth call it. The web side mirrors it insatisfiesWanted.Before this, the daemon treated an embedded pt-BR track as satisfying pt-PT and never searched. The status API compared languages exactly, so it reported
pt-PT · searchingforever. The UI also left pt-BR out of the wanted chips. That's what Silo S03 showed: nine episodes with embedded pt-BR, all reading "pt-PT searching", and no pt-BR in view.Verification
/api/series/9/subtitles/status: E01–E03 and E05–E10 have embeddedpt-BR, andmissingispt-PT · searching. The daemon log for the same files sayspt-PT missing … an existing subtitle satisfies it.missing.just cipasses: 838 tests, biome and tsc.🤖 Generated with Claude Code
218b1a059bto2a71e6fb56