GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TV_MERGE (1)

.ds Aq ’

NAME

tv_merge - Merge (combine) two XMLTV files.

CONTENTS

SYNOPSIS

tv_merge -i FILE -m FILE -o FILE

DESCRIPTION

Read XMLTV listings from two files and merge them together. Unlike tv_cat (which just joins files) this will update (add/replace/delete) the origin XMLTV file with channels and programmes contained in the second file.

It works with multiple channels, and will insert any new programmes and delete any overlapping programmes.

<B>IMPORTANTB> The input files must be pre-sorted into datetime within channel order by using the --by-channel option to tv_sort
e.g. tv_sort --by-channel --output FILE FILE

All programmes must have start and stop times.

(Note: Programmes in the merged-in file replace any in the master file, i.e. data are not updated within programmes)

This program uses XML::TreePP which doesn’t write <DOCTYPE> definitions in the output file. If you need to add a suitable <DOCTYPE> tag then use the -t parameter.
e.g. tv_merge -i FILE -m FILE -o FILE -t

EXAMPLE

Use tv_merge -i master.xml -m newadditions.xml -o newmaster.xml to merge all channels/programmes in newadditions.xml.

SEE ALSO

xmltv(5)

AUTHOR

Copyright Geoff Westcott, February 2013.

This code is distributed under the GNU General Public License v2 (GPLv2) .

Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 TV_MERGE (1) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.