Files
iptvnator/libs
4grayandClaude Opus 5 c5282e328d refactor(epg): split the scoped batch request out of the current-programs lookup
Greptile counts raw lines where the ESLint rule skips blanks and comments, so
the extracted lookup still read as 420 lines against the repo's 400-line
directive. Split along the real seam instead of shaving comments:

- `EpgScopedBatchLookup` — how ONE scope is asked: the per-channel cache in
  front of the request, the order-insensitive deduplication of identical
  batches in flight, and the retry against the fallback scope.
- `EpgCurrentProgramsLookup` — which scope to ask, and the any-source retry.

Every file in the lib is now comfortably inside the limit: service 249,
current-programs 256, scoped-batch 180, single-program 129, cache 166,
channel-metadata 101.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-20 20:44:57 +02:00
..