TV_REMO...LAPPING(1p)

πŸ“¦
version 1.4.0 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 to FILE rather 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