TV_REMO...LAPPING(1p)
π tv_remove_some_overlapping(1p) π
okay bestie, welcome to the User Contributed Perl Documentation corner of the manual, aka where the real ones live π«Ά this one's called tv_remove_some_overlapping and it's giving "let me clean up your TV listings real quick" energy β¨
πΈ SYNOPSIS πΈ
tv_remove_some_overlapping [--help] [--output FILE] [FILE...]
β¨ DESCRIPTION β¨
so the whole vibe is: you feed it one or more XMLTV files, and it writes a file to standard output with basically the same data β except it yeets out some of those "magazine" programmes that lowkey seem to contain two or more other programmes inside them. π
fr fr, here's the example. say Schools TV runs from 10:00 to 12:00, and on the same channel there's History from 10:00 to 11:00 and Geography from 11:00 to 12:00. in that case Schools TV could be removed. ποΈ
and here's the important bit, no cap: a programme is only removed if there are two or more other programmes which partition its timeslot, which implies that it and these other programmes must have stop times specified. so like, the math has to actually work out. periodt. π
now, because we are not trying to throw away any real programmes (we're not monsters π), no programme will be discarded if it has content data other than title and URL. that's the safety net, bestie, cherish it. π
also keep it real: filtering with this tool won't remove all overlapping programmes. it's not a magic wand β¨ it will deal with the 'big magazine programme containing smaller programmes' data commonly seen from listings sources though, which is honestly the iconic problem child here. π
--output FILEβ write toFILErather than standard output π¦
π SEE ALSO π
xmltv(5).
π AUTHOR π
Ed Avis, ed@membled.com
that's the whole page, bestie, go forth and de-overlap your listings π
this was brought to you by perl v5.40.1 on 2025-04-19 β mwah, slay, bye πβ¨
π¦ where this page comes from
- debian trixie: xmltv-util 1.4.0-1 Β· GPL-2.0-only
- ubuntu resolute: xmltv-util 1.4.0-1 Β· GPL-2.0-only
- ubuntu stonking: xmltv-util 1.4.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms