TV_GRAB_COMBINER(1p)

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

πŸ’– TV_GRAB_COMBINER (1p) πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's literally about a grabber that combines other grabbers. iconic behavior honestly.


✨ NAME ✨

tv_grab_combiner β€” grab listings by combining data from several grabbers. that's it, that's the girl πŸ’…


🌸 SYNOPSIS 🌸

tv_grab_combiner --help

tv_grab_combiner --configure [--config-file FILE]

tv_grab_combiner [--config-file FILE]
                 [--days N] [--offset N]
                 [--output FILE] [--quiet]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this thing outputs TV and listings in XMLTV format by combining data from several other grabbers. a group project, but the one that actually works πŸ’–

First things first: you must run tv_grab_combiner --configure to choose which grabbers you want to grab data with, and how those grabbers should be configured. no skipping this step, bestie, it's the whole foundation πŸŽ€

Then you can run tv_grab_combiner with the --days and --offset options to grab data. If you just… don't use them, it falls back to the default values for those parameters for each grabber. and here's the tea β˜• β€” since those defaults differ between grabbers, you might end up with data for different periods of time for different channels. so like, lowkey chaos if you don't pay attention 😭


πŸ’… OPTIONS πŸ’…

  • --configure β€” prompts you for which grabbers to use, how those grabbers shall be configured, and then writes the configuration file. the setup era 🫢
  • --config-file FILE β€” sets the name of the configuration file. the default is ~/.xmltv/tv_grab_combiner.conf. this is the file written by --configure and read when grabbing. iykyk πŸŽ€
  • --output FILE β€” when grabbing, write output to FILE rather than standard output.
  • --days N β€” when grabbing, grab N days rather than 5. (yes, 5 is the default, she said what she said ✨)
  • --offset N β€” start grabbing at today + N days. N may be negative. time travel, but make it listings 🌈
  • --quiet β€” suppress the progress-bar that's normally shown on standard error. for when you want silence and vibes πŸ’œ
  • --version β€” show the version of the grabber.
  • --help β€” print a help message and exit. the classic πŸ¦‹

🚨 ERROR HANDLING 🚨

If any of the called grabbers exit with an error, tv_grab_combiner will exit with a status code of 1 to indicate that the data is incomplete. not great, not terrible, but definitely a heads up 😭

If any grabber produces output that is not well-formed xml, the output from that grabber will be ignored and tv_grab_combiner will exit with a status code of 1. so bad xml gets ghosted entirely, no cap πŸ’€


🌱 ENVIRONMENT VARIABLES 🌱

The environment variable HOME can be set to change where configuration files are stored. All configuration is stored in $HOME/.xmltv/. periodt πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

Mattias Holmlund, mattias -at- holmlund -dot- se.


πŸ’€ BUGS πŸ’€

this section is empty in the original. no bugs listed, no notes, nothing. she's flawless, allegedly πŸ™ˆβœ¨

and that's the whole page bestie!! written by User Contributed Perl Documentation, running on perl v5.40.1, dated 2025-04-19 β€” go grab some listings, you absolute main character πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from