TV_GRAB...TVMEDIA(1p)
π NAME π
okay so bestie, this is tv_grab_na_tvmedia β a grabber that pulls TV listings for North America. no cap. π¦
β¨ SYNOPSIS β¨
tv_grab_na_tvmedia --help
tv_grab_na_tvmedia --configure [--config-file FILE]
tv_grab_na_tvmedia [--config-file FILE]
[--days N] [--offset N]
[--output FILE] [--quiet]
tv_grab_na_tvmedia --list-channels [--config-file FILE]
[--output FILE] [--quiet]
πΈ DESCRIPTION πΈ
so basically it outputs TV listings in XMLTV format for stations available in North America, and the data is provided by TVMedia Inc. iconic of them tbh π
lowkey important: this grabber needs an active subscription to XMLTVListings.com, plus at least one lineup selected from your account page. you cannot skip this part, bestie, it's giving mandatory. π
once you've got that sorted, run tv_grab_na_tvmedia --configure to set your API key and pick which lineup you want to receive. π
then just running tv_grab_na_tvmedia with no arguments gets you listings for all the channels in your lineup, exactly how you configured it on XMLTVListings.com. slay. π
π OPTIONS π
--configureβ prompts you for which stations to download, and writes the configuration file. it's giving setup wizard energy β¨--config-file FILEβ sets the name of the configuration file. the default is~/.xmltv/tv_grab_na_tvmedia.conf. this is the file that--configurewrites, and the file that gets read when grabbing. ποΈ--output FILEβ when grabbing, write output to FILE instead of to standard output.--days Nβ when grabbing, grab N days instead of5. yes,5is the default, remember it. ποΈ--offset Nβ start grabbing at today + N days. it also supports a negative offset for past listings, so you can go back in time, main character time-travel moment βͺ--quietβ only print error-messages on STDERR. shhh π€«--debugβ provides more information on progress to stderr to help in debugging. detective mode π΅οΈ--list-channelsβ outputs a list of all channels that data is available for. the list is in xmltv-format. πΊ--capabilitiesβ shows which capabilities the grabber supports. for more information, see <http://wiki.xmltv.org/index.php/XmltvCapabilities> π--versionβ shows the version of the grabber. β--helpβ prints a help message and exits. the classic π«Ά
π ERROR HANDLING π
if the grabber fails to download data, it prints an errormessage to STDERR and then exits with a status code of 1, which is the signal that the data is missing. so if you see that 1, it's not you, it's the data. π
π CREDITS π
grabber written by Matthew April on behalf of TVMedia.ca. this documentation was copied from tv_grab_cz, and this code was modified from tv_grab_cz, by Mattias Holmlund, mattias -at- holmlund -dot- se. giving credit where credit is due, periodt. π
π BUGS π
None known. we're clean, bestie, no bugs in sight β¨π§
this wasperl v5.40.1, dated2025-04-19, from the User Contributed Perl Documentation. mwah, enjoy your listings ππΈ
π¦ 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