[IMPROVEMENT]: Add ATSC XMLTV regression test coverage via Alembic migration #1003
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Summary
Add regression test coverage for ATSC XMLTV output generation (
--xmltv=1) using the ATSC broadcast sample I uploaded to the platform.This test exercises
expected_rc=5) withOutputType.nullTechnical Details
Sample Selection
Sample 187 (ch29FullTS.ts) – newly added ATSC broadcast sample specifically for XMLTV testing with parameters:
--xmltv=1 --out=null:SHA256: 6b10f8aef895469ec9cb89ecd0c2463eb2442052c32da9d81c6a6f5cec9137b8Size: 300.52 MB | Duration: 2m 10s
ATSC PSI/SI Tables:
Virtual Channel Table (VCT) - channels 5.1-5.5 (KPIX-TV, StartTV, etc.)
Extended Text Table (ETT) - program titles/descriptions
Event Information Table (EIT) - multi-day EPG scheduling
EIA-608/708 captions across 5 video PIDs
I reviewed the TS samples currently available on the platform and did not find any that appear to contain the ATSC PSI/SI tables (VCT, EIT, ETT) needed to exercise the ATSC XMLTV generation paths introduced and extended in recent XMLTV fixes. For this reason, I recently added an ATSC broadcast sample to the Sample Platform and use it here to provide regression coverage for the relevant XMLTV code paths.
Database Deployment Strategy
Following @canihavesomecoffee review WebVTT PR:
Deployment strategy:
install/sample_db.pytests/base.pyfixturesTest characteristics
Related Work