SYNOPSIS

tv_cat [--help] [--output \s-1FILE\s0] [\s-1FILE\s0...]

DESCRIPTION

Read one or more \s-1XMLTV\s0 files and write a file to standard ouput whose programmes are the concatenation of the programmes in the input files, and whose channels are the union of the channels in the input files.

--output \s-1FILE\s0 write to \s-1FILE\s0 rather than standard output

The treatment of programmes and channels is slightly different because for programmes, the ordering is important (typically programmes are processed or displayed in the same order as they appear in the input) whereas channels are just a set indexed by channel id. There is a warning if channel details clash for the same id.

One more wrinkle is the credits (source, generator and so on), they are taken from one of the files and then there's a warning if the other files differ. If two input files have different character encodings, then it is not meaningful to combine their data (without recoding or other processing) and tv_cat die with an error message.

This tool is rather useless, but it makes a good testbed for the \s-1XMLTV\s0 module.

RELATED TO tv_cat…

xmltv\|(5).

AUTHOR