XMLTV is a set of programs to process TV (tvguide) listings and manage your TV viewing. It stores the listings in an XML-based format and most of the programs are filters which read and/or write XML. There are backends to download TV listings for several countries. It also includes some filter tools to sort, grep, print, and munge listings, and two end-user programs to plan a week's TV viewing.
These details are provided for information only. No information here is legal advice and should not be used as such.