4
I Use This!
Activity Not Available

Commits : Listings

Analyzed 5 months ago. based on code collected over 1 year ago.
Feb 10, 2022 — Feb 10, 2023
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Went through my inbox and noted down remaining requests from users and things that need fixing. Ouch, that's a lot of tasks. More... over 22 years ago
Added --output option requested by Andy B. to all programs that generate XML listings. Also a usage message where one was missing. More... over 22 years ago
Update to my todo list. More... over 22 years ago
fixed Id entry More... over 22 years ago
now identifies Comedia categories in french listings More... over 22 years ago
Corrected wrong usage example for write_data(). In fact the usage of write_data() depends on the arguments to construct an XMLTV::Writer, which depends on how you construct an XML::Writer... but IMHO this is the least silly way to do it. More... over 22 years ago
Removing filter_shown in favour of tv_grep, which does the same job and more (tv_grep --on-after X == filter_shown -d X). tv_grep is 25% slower due to using XMLTV.pm rather than manipulating the DOM directly, but that's not worth worrying about. More... over 22 years ago
Turn on env_proxy flag for HTTP::Request::Common, so if you have http_proxy set in your environment that proxy server will be used. More... over 22 years ago
Fine-tuned 'presenter' matching so that 'former Eurotrash presenter Jean-Paul Gaultier' is not treated as the presenter of the current programme. (The word before 'presenter', if any, must begin with a capital letter.) More... over 22 years ago
Oops, tv_grep was stripping out channel information unless some channel predicates were given to specifically include it. Changed the default to be keeping all channels unchanged if no channel predicates are specified. More... over 22 years ago
Implemented some suggestions from Jerry about improving the usage message. More... over 22 years ago
Implemented filtering on channels: two new predicates --channel-name and --channel-id. These will filter out programmes like the others but also remove <channel> elements from the output. More... over 22 years ago
Better usage message including the autogenerated predicates. More... over 22 years ago
Automatically generaete a long option for every key a programme hash can have. Not all these long options are usable, for example there is currently no way to search on audio characteristics (so using --audio will give an error message). But there are searches defined for simple text, text with language, and booleans, so you can say things like: More... over 22 years ago
Better argument parsing using a new OptionAbbrev class which allows non-ambiguous initial substrings to be used as abbreviations for long options. So for example --o is not an acceptable abbreviation, it could be short for --or or --on-after. More... over 22 years ago
Added list_programme_keys() which allows some limited querying about the data structure: what keys can be in a programme, and what format their values take. This could be useful for tools which need to automatically generate code for each key in turn. I wrote it for tv_grep, so that command line options like --title X or --category -X can be created mechanically (and when the DTD changes, hopefully only XMLTV.pm needs to be updated). More... over 22 years ago
Added --or (-o) option like find(1). More... over 22 years ago
Another rewrite for tv_grep. I am trying to make it do everything that Simon Kittle's 'filter' program provides. The new version of tv_grep allows boolean expressions composed with 'and' and 'or' in the manner of find(1) - or it will when the argument parser is finished. Currently plain regexp search, --on-after, and --eval (arbitrary Perl code) are implemented. Just committing what I have so far. More... over 22 years ago
When I converted getlistings_uk_ananova to use XMLTV.pm for output I lost the timezones in the output. This is because I forgot that the XMLTV.pm data structure should contain the output form of dates and times, not the Date::Manip internal form. We need to convert dates for output with date_to_uk() before storing them in the programme hash, and call ParseDate() when we read from the programme hash. More... over 22 years ago
Added -e option to specify arbitrary Perl code to execute on each programme (truth value returned determines whether the programme is included in the output). This is really just for the infrastructure, I will later add ready-made code fragments for filtering on category, date and so on. More... over 22 years ago
Added --ignore-case or -i option. More... over 22 years ago
New versions of the Memoize module deprecate TIE and want HASH instead. More... over 22 years ago
Bugfix for writing icons. More... over 22 years ago
Added comment about test data for tv_extractinfo_en, which I have but cannot commit to CVS. More... over 22 years ago
Clearing out the 'attic'. Removed Changelog.old, it was a subset of the main Changelog.old. Salvaged any reusable code from the two old versions of getlistings_uk_ananova into files misc and html_parsing (plus tv_extractinfo_en), and removed those files. Removed test_xmltv_module, we have a working version in the main directory. More... over 22 years ago
Test rig I use for checking changes to getlistings_uk_ananova: it runs the old version and the new version with various arguments and checks the results are identical. Needs a bit of polish, but could be used for testing most programs in the XMLTV distribution. More... over 22 years ago
Added tv_extractinfo_en, which reads English-language programme descriptions and attempts to sniff out information which could better be stored in machine-readable form. This is mostly code which used to live in the old scrapped_getlistings_uk_ananova in the attic/ directory, I've just ported it to the new data structures and tidied it up. More... over 22 years ago
First version of tv_grep, which filters particular programmes from listings. This version works by stringifying the programme hash and regexp matching against that, which is kludgy but effective. Written to fill a need during debugging: more fully-featured version to come later. More... over 22 years ago
document the new color HTML output format for a --scan More... over 22 years ago
add HTML output option for color printing More... over 22 years ago