TV_GRAB_TR(1p)
π tv_grab_tr β the Turkey TV listings grabber, bestie edition π
Okay so real talk: this is tv_grab_tr, a 1p man page from the User Contributed Perl Documentation corner of the universe. She grabs TV listings for Turkey. She is that girl. Let's go. β¨
πΈ NAME πΈ
tv_grab_tr β grab TV listings for Turkey. πΉπ· no cap.
π SYNOPSIS π
tv_grab_tr --help
tv_grab_tr --configure [--config-file FILE]
tv_grab_tr [--config-file FILE]
[--days N] [--offset N]
[--output FILE] [--quiet] [--debug]
tv_grab_tr --list-channels [--config-file FILE]
[--output FILE] [--quiet] [--debug]
tv_grab_tr --version
tv_grab_tr --capabilities
tv_grab_tr --description
π¦ DESCRIPTION π¦
So basically? She outputs TV listings in XMLTV format for a whole bunch of stations available in Turkey. The data gets downloaded from Digiturk. π
But first β and this is the part nobody reads, and then everyone messages the group chat like "why is it empty" β you must run:
tv_grab_tr --configure
...to pick which stations you actually want to receive. Choose your faves, bestie. π
Then once that's done, running tv_grab_tr with no arguments at all will get you listings for your chosen stations, including today. Just like that. Iconic behaviour, honestly. β¨
β¨ OPTIONS β¨
--helpβ prints a help message and dips. That's it. That's the whole job. π«Ά--configureβ prompts you for which stations to download, then writes the configuration file. This is your moment to curate. π--list-channelsβ spits out a list of all the channels that data is available for. And the list is inxmltv-format, because of course it is. π--config-file FILEβ sets the name of the configuration file. The default is~/.xmltv/tv_grab_tr.conf. This is the exact file that--configurewrites and the one that gets read when grabbing. She's the blueprint, fr fr. π--output FILEβ when grabbing, write the output toFILEinstead of just yeeting it to standard output. π--days Nβ when grabbing, grabNdays. Simple as. ποΈ--offset Nβ start grabbing at today + N days. Time travel, but make it listings. β©--quietβ only print error messages onSTDERR. She's shy. She's lowkey. π€«--debugβ provides more information on progress toSTDERRto help with debugging. Main character energy for your terminal. π--capabilitiesβ shows which capabilities the grabber supports. For more info, peephttp://wiki.xmltv.org/index.php/XmltvCapabilities. π--versionβ shows the version of the grabber. Know your queen. π--descriptionβ shows a brief description of the grabber. The little blurb. The vibe check. π
π ERROR HANDLING π
If the grabber fails to download listings data for a channel, she will print an error message to STDERR and then keep going with the next configured channel. No dramatic collapse. She's resilient. She's healing. She moves on. πͺ
π ENVIRONMENT VARIABLES π
The environment variable HOME can be set to change where configuration files are stored. All configuration lives in $HOME/.xmltv/. π
On Windows, it might be necessary to set HOME to a path without spaces in it. Yes, really. Do not fight this. Just do it. π
π CREDITS π
Grabber written by Dig Lam, dig -dot- lam -at- gmail -dot- com. π«Ά
This documentation was copied from tv_grab_uk by Ed Avis, ed -at- membled -dot- com. Credit where credit is due, always. β¨
π BUGS π
None known. (Which is the most suspicious sentence in all of software, but okay bestie, we believe you. π)
And that's the whole page, gorgeous. This one's running on perl v5.34.0, dated 2022-02-19, and it's filed under TV_GRAB_TR(1p). Go configure your channels and slay. π
β¨πΈ
π¦ where this page comes from
- ubuntu jammy: xmltv-util 1.1.1-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