xmltv/grab/uk_rt prog_titles_to_process, 1.579, 1.580

Nick Morrott <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/uk_rt
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10440/grab/uk_rt

Modified Files:
	prog_titles_to_process 
Log Message:
Comment updates

Index: prog_titles_to_process
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/uk_rt/prog_titles_to_process,v
retrieving revision 1.579
retrieving revision 1.580
diff -C2 -d -r1.579 -r1.580
*** prog_titles_to_process	1 Mar 2015 23:11:43 -0000	1.579
--- prog_titles_to_process	1 Mar 2015 23:21:39 -0000	1.580
***************
*** 3,100 ****
  # $Id$
  #
! ######################## COPYRIGHT NOTICE '####################################
! #
! # NOTE: The Radio Times (and others) have copyright over the description
! #       text used in listings. Descriptions are included in this file in
! #       order to improve the listings uk_rt generates and for no other
! #       reason.
! #
  ###############################################################################
  #
! # This file contains programme titles that should be processed in order to
! # produce more consistent programme titles and subtitles. Some programme
! # entries in the listings data from the Radio Times contain subtitle/episode
! # information in the title field, others may contain the programme title
! # and subtitle reversed, and yet more may contain 'season' information that is
! # not part of the programme title. When these entries have a colon separating
! # the title and subtitle components, we use the colon to split the title and
! # subtitle accordingly. We also flag specific programme titles that are given
! # inconsistently across channels, and provide a consistent title to use in these
! # cases.
! #
! # By default, the tv_grab_uk_rt grabber will read this file and process any
! # matching programme titles found in the listings data against the flagged
! # titles below. Title processing can be disabled during configuration.
! #
! # Each programme title to process is listed below, with one title per line.
! # Comments are allowed and ignored. Each entry contains 2 pipe-delimited
! # fields, the first of which should contain a procesing code, the second
! # the programme title entry or non-title text seen in the Radio Times data.
! # How the entry is processed depends upon the value of the processing code in
! # the first field. Processing codes used are:
! #
! # 1)  The text in the second field is non-title text that is to be removed from
! #     any programme titles found containing this text at the beginning of the
! #     <title> element, separated from the actual title with a colon.
! #
! # 2)  The text in the second field is the desired title of a programme when the
! #     raw listings data contains both the programme's title _and_ episode in
! #     the title ($title:$episode). We reassign the episode information to the
! #     <episode> element, leaving only the programme title in the <title> element.
! #
! # 3)  The text in the second field is the desired title of a programme when the
! #     raw listings data contains both the programme's episode _and_ title in
! #     the title ($episode:$title). We reassign the episode information to the
! #     <episode> element, leaving only the programme title in the <title> element.
! #
! # 4)  The text in the second field is the desired title of a programme which is
! #     listed in the raw listings data as the programme's episode (i.e. the title
! #     and episode details have been reversed). We therefore reverse the
! #     assignment to ensure the <title> and <episode> elements contain the correct
! #     information.
! #
! # 5)  The text in the second field contains two programme titles, separated by a
! #     tilde (~). The first title is the inconsistent programme title to search
! #     for during processing, and the second title is a consistent title to
! #     as a replacement in the listings output. Programme titles can be
! #     inconsistent across channels (e.g. Law and Order vs Law & Order) or use
! #     inconsistent grammar (xxxx's vs xxxxs'), so we provide a consistent
! #     title, obtained from the programme itself, its website or other media,
! #     to use instead.
! #
! # 6)  The text in the second field contains a programme title and a programme
! #     category (genre), separated by a tilde (~). Categories can be assigned
! #     to uncategorised programmes (which can be determined by running the grabber
! #     with debug output).
! #
! # 7)  The text in the second field contains a programme title, an old episode
! #     value and a new episode value, all separated by tildes (~).
! #
! # 8)  The text in the second field contains an old programme title, an old episode
! #     value, a new programme title and a new episode value. The old and new titles
! #     MUST be given, the episode fields can be left empty but the field itself
! #     must be present.
! #
! # 9)  The text in the second field contains a programme title, a new episode
! #     value to update, and a description to match against.
! #
! # 10) The text in the second field contains an old programme title, an old episode
! #     value, a new programme title, a new episode value and the episode description.
! #     The old and new titles and description MUST be given, the episode fields can
! #     be left empty but the field itself must be present.
! #
! # 11) The text in the second field contains a programme 'brand' and a new title to
! #     be extracted from subtitle field and promoted to programme titlei, replacing
! #     the brand title. These fields are separated by a tilde (~).
! #
! # 12) The text in the second field contains a film title and a programme
! #     category (genre), separated by a tilde (~). Some film-related programmes are
! #     incorrectly flagged as films and should to be re-assigned to a more suitable
! #     genre.
! #
! # 13) The text in the second field contains a programme title and arbitrary text to
! #     be removed from the start/end of the programme's subtitle, separated by a
! #     tilde (~). If the text to be removed precedes or follows a colon/hyphen, the
! #     colon/hyphen is removed also.
  #
  # Non-title information to remove from beginning of titles
--- 3,102 ----
  # $Id$
  #
! ######################### COPYRIGHT NOTICE '###################################
! ##
! ## NOTE: The Radio Times (and others) have copyright over the description
! ##       text used in listings. Descriptions are included in this file in
! ##       order to improve the listings uk_rt generates and for no other
! ##       reason.
! ##
  ###############################################################################
+ ##
+ ## This file contains programme titles that should be processed in order to
+ ## produce more consistent programme titles and subtitles. Some programme
+ ## entries in the listings data from the Radio Times contain subtitle/episode
+ ## information in the title field, others may contain the programme title
+ ## and subtitle reversed, and yet more may contain 'season' information that is
+ ## not part of the programme title. When these entries have a colon separating
+ ## the title and subtitle components, we use the colon to split the title and
+ ## subtitle accordingly. We also flag specific programme titles that are given
+ ## inconsistently across channels, and provide a consistent title to use in
+ ## these cases.
+ ##
+ ## By default, the tv_grab_uk_rt grabber will read this file and process any
+ ## matching programme titles found in the listings data against the flagged
+ ## titles below. Title processing can be disabled during configuration.
+ ##
+ ## Each programme title to process is listed below, with one title per line.
+ ## Comments are allowed and ignored. Each entry contains 2 pipe-delimited
+ ## fields, the first of which should contain a procesing code, the second
+ ## the programme title entry or non-title text seen in the Radio Times data.
+ ## How the entry is processed depends upon the value of the processing code in
+ ## the first field. Processing codes used are:
+ ##
+ ## 1)  The text in the second field is non-title text that is to be removed from
+ ##     any programme titles found containing this text at the beginning of the
+ ##     <title> element, separated from the actual title with a colon.
+ ##
+ ## 2)  The text in the second field is the desired title of a programme when the
+ ##     raw listings data contains both the programme's title _and_ episode in
+ ##     the title ($title:$episode). We reassign the episode information to the
+ ##     <episode> element, leaving only the programme title in the <title> element.
+ ##
+ ## 3)  The text in the second field is the desired title of a programme when the
+ ##     raw listings data contains both the programme's episode _and_ title in
+ ##     the title ($episode:$title). We reassign the episode information to the
+ ##     <episode> element, leaving only the programme title in the <title> element.
+ ##
+ ## 4)  The text in the second field is the desired title of a programme which is
+ ##     listed in the raw listings data as the programme's episode (i.e. the title
+ ##     and episode details have been reversed). We therefore reverse the
+ ##     assignment to ensure the <title> and <episode> elements contain the correct
+ ##     information.
+ ##
+ ## 5)  The text in the second field contains two programme titles, separated by a
+ ##     tilde (~). The first title is the inconsistent programme title to search
+ ##     for during processing, and the second title is a consistent title to
+ ##     as a replacement in the listings output. Programme titles can be
+ ##     inconsistent across channels (e.g. Law and Order vs Law & Order) or use
+ ##     inconsistent grammar (xxxx's vs xxxxs'), so we provide a consistent
+ ##     title, obtained from the programme itself, its website or other media,
+ ##     to use instead.
+ ##
+ ## 6)  The text in the second field contains a programme title and a programme
+ ##     category (genre), separated by a tilde (~). Categories can be assigned
+ ##     to uncategorised programmes (which can be determined by running the grabber
+ ##     with debug output).
+ ##
+ ## 7)  The text in the second field contains a programme title, an old episode
+ ##     value and a new episode value, all separated by tildes (~).
+ ##
+ ## 8)  The text in the second field contains an old programme title, an old episode
+ ##     value, a new programme title and a new episode value. The old and new titles
+ ##     MUST be given, the episode fields can be left empty but the field itself
+ ##     must be present.
+ ##
+ ## 9)  The text in the second field contains a programme title, a new episode
+ ##     value to update, and a description to match against.
+ ##
+ ## 10) The text in the second field contains an old programme title, an old episode
+ ##     value, a new programme title, a new episode value and the episode description.
+ ##     The old and new titles and description MUST be given, the episode fields can
+ ##     be left empty but the field itself must be present.
+ ##
+ ## 11) The text in the second field contains a programme 'brand' and a new title to
+ ##     be extracted from subtitle field and promoted to programme titlei, replacing
+ ##     the brand title. These fields are separated by a tilde (~).
+ ##
+ ## 12) The text in the second field contains a film title and a programme
+ ##     category (genre), separated by a tilde (~). Some film-related programmes are
+ ##     incorrectly flagged as films and should to be re-assigned to a more suitable
+ ##     genre.
+ ##
+ ## 13) The text in the second field contains a programme title and arbitrary text to
+ ##     be removed from the start/end of the programme's subtitle, separated by a
+ ##     tilde (~). If the text to be removed precedes or follows a colon/hyphen, the
+ ##     colon/hyphen is removed also.
  #
! # Type 1 fixups
  #
  # Non-title information to remove from beginning of titles
***************
*** 164,167 ****
--- 166,171 ----
  1|X Factor Final Weekend
  #
+ # Type 2 fixups
+ #
  # $title:$episode seen in source data title
  # Works with original title/episode details seen in source
***************
*** 973,976 ****
--- 977,982 ----
  2|iTunes Festival
  #
+ # Type 3 fixups
+ #
  # $subtitle:$title seen in source data title
  # Works with original title/episode details seen in source
***************
*** 1080,1083 ****
--- 1086,1091 ----
  3|Welsh Assembly Lecture
  #
+ # Type 4 fixups
+ #
  # Reversed $title and $subtitle entries seen in source data
  # Works with original title/episode details seen in source
***************
*** 1088,1091 ****
--- 1096,1101 ----
  4|Timewatch
  #
+ # Type 5 fixups
+ #
  # Inconsistent programme titles to be written more consistently
  # Works with original title details seen in source
***************
*** 2466,2507 ****
  5|iD&T - Maths~iD&T: Maths
  #
  # Programme titles and programme categories (genre)
  # Works on 'corrected' programme titles
  #
! # Animation
! # Arts
! # Arts and culture
! # Children
! # Childrens
! # Comedy
! # Current affairs
! # Discussion/Debate
! # Documentary
! # Drama
! # Education
! # Entertainment
! # Film
! # Food
! # Game show
! # Health
! # History
! # Home and property
! # Interests
! # Lifestyle
! # Music
! # Music and Arts
! # Nature
! # News
! # News and current affairs
! # Property
! # Reality
! # Religion
! # Sci-fi
! # Science
! # Sitcom
! # Soap
! # Sport
! # Talk show
! # Travel
  #
  6|... Sings the Beatles~Music and Arts
--- 2476,2519 ----
  5|iD&T - Maths~iD&T: Maths
  #
+ # Type 6 fixups
+ #
  # Programme titles and programme categories (genre)
  # Works on 'corrected' programme titles
  #
! ## Animation
! ## Arts
! ## Arts and culture
! ## Children
! ## Childrens
! ## Comedy
! ## Current affairs
! ## Discussion/Debate
! ## Documentary
! ## Drama
! ## Education
! ## Entertainment
! ## Film
! ## Food
! ## Game show
! ## Health
! ## History
! ## Home and property
! ## Interests
! ## Lifestyle
! ## Music
! ## Music and Arts
! ## Nature
! ## News
! ## News and current affairs
! ## Property
! ## Reality
! ## Religion
! ## Sci-fi
! ## Science
! ## Sitcom
! ## Soap
! ## Sport
! ## Talk show
! ## Travel
  #
  6|... Sings the Beatles~Music and Arts
***************
*** 4105,4108 ****
--- 4117,4122 ----
  6|Zoo Vet at Large~Nature
  #
+ # Type 7 fixups
+ #
  # Episode details to be written more consistently
  # Works on 'corrected' programme titles
***************
*** 5148,5151 ****
--- 5162,5167 ----
  7|Zoo Days~Series 3 Ep 3~
  #
+ # Type 8 fixups
+ #
  # One-off title/episode details to be written more consistently
  # Works with original title/episode details seen in source
***************
*** 6108,6111 ****
--- 6124,6129 ----
  8|You've Been Framed! Kids Special~~You've Been Framed!~Kids Special
  #
+ # Type 9 fixups
+ #
  # Episode subtitle details to be updated based on given description and
  # programme title. Can be used to inject episode numbering.
***************
*** 6671,6674 ****
--- 6689,6694 ----
  9|Wreck Rescue~Toyota Land Cruiser (Part 2)~Series following star restorer Mark Evans as he meets five teams tackling major car restoration projects. Having spent a sizeable amount on securing his 1980s Toyota Land Cruiser, can Peter have it ready in time for his proposed trip from London to Cape Town?
  #
+ # Type 10 fixups
+ #
  # One-off title/episode details to be written more consistently, based on a
  # given description. This is more selective than a type '8' fixup above.
***************
*** 6734,6737 ****
--- 6754,6759 ----
  10|Which Doctor~~Gunsmoke~Which Doctor~Festus and Doc go fishing, but are captured by a family that is feuding with the Haggens.
  #
+ # Type 11 fixups
+ #
  # One-off demoted titles to be extracted from subtitle field and promoted
  # to programme title, overwriting the programme's 'brand'.
***************
*** 6803,6806 ****
--- 6825,6830 ----
  11|You've Been Framed!~You've Been Framed! Kids
  #
+ # Type 12 fixups
+ #
  # Programmes incorrectly categorised as films and replacement categories (genre)
  # Works on 'corrected' programme titles
***************
*** 6857,6860 ****
--- 6881,6886 ----
  12|Wild Special~Entertainment
  #
+ # Type 13 fixups
+ #
  # Arbitrary text to be removed from start/end of given programme's subtitle.
  #


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.