TV_AUGMENT(1)

πŸ“¦ version 1.4.0, in alpine 3.24

πŸ’– NAME πŸ’–

okay so this is the manual page for tv_augment(1) from the User Contributed Perl Documentation, and it is literally the tool that augments XMLTV listings files with automatic and user-defined rules. bestie, it’s giving β€œmake my TV guide make sense” energy. πŸ’…

✨ SYNOPSIS ✨

two ways to call her, both iconic:

tv_augment [--rule <file>] [--config <file>]
           [--input <file>] [--output <file>]
           [--log <file>] [--nostats]
           [--debug <level>]

tv_augment [-r <file>] [-c <file>]
           [-i <file>] [-o <file>]
           [-l <file>] [-n]
           [-d <level>]

πŸŽ€ DESCRIPTION πŸŽ€

so the whole point: you take an XMLTV xml file and you apply corrections β€” the page calls them "fixups" β€” to programmes that match defined criteria called "rules". no cap, that’s the vibe. πŸ¦‹

two types of rules get actioned: (i) automatic, and (ii) user-defined. periodt.

automatic rules use pre-programmed input and output to modify the input programmes. like, for example, removing a "title" where it’s repeated in a "sub-title" (e.g. "Horizon" / "Horizon: Star Wars"), or trying to identify and extract series/episode numbers from the programme title, sub-title or description. she’s doing detective work, fr fr. πŸ”

user-defined rules use the content of a "rules" file, which lets programmes matching certain user-defined criteria get corrected/enhanced with the user data you supplied (e.g. adding/changing categories for all episodes of "Horizon", or fixing misspellings in titles, etc.). highkey useful. 🫢

for the extra lore: (see "perldoc XMLTV::Augment" for more details) ✨

🌸 the flags, bestie 🌸

  • --input FILE (-i FILE) β€” read from FILE rather than standard input. πŸ“₯
  • --output FILE (-o FILE) β€” write to FILE rather than standard output. πŸ“€
  • --rule FILE (-r FILE) β€” file containing the user-defined rules. πŸ“œ
  • --config FILE (-c FILE) β€” configuration file containing a list of which rules you want to run. βš™οΈ
  • --nostats (-n) β€” do not print the summary log of actions performed, or list of suggested fixups. πŸ™ˆ
  • --log FILE (-l FILE) β€” output the stats to this FILE. πŸ“
  • --debug LEVEL (-d LEVEL) β€” print debug info to STDERR (debug level > 3 is not likely to be of much use (it generates a lot of output)) πŸ’€

🌈 SEE ALSO 🌈

xmltv(5) β€” go read that too, bestie. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Geoff Westcott, honir.at.gmail.dot.com, Dec. 2014. an icon. πŸ’œ


mwah πŸ’‹ β€” this page is from perl v5.42.2, dated 2025-06-30. slay. 🌟
πŸ“¦ where this page comes from