xmltv/grab/uk_atlas atlasAPIkey, NONE, 1.1 test.conf, NONE, 1.1 tv_grab_uk_atlas, NONE, 1.1 tv_grab_uk_atlas.map.SAMPLE.conf, NONE, 1.1 tv_grab_uk_atlas.map.conf, NONE, 1.1 tv_grab_uk_atlas.map.genre.conf, NONE, 1.1
Geoff <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/uk_atlas
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10498
Added Files:
atlasAPIkey test.conf tv_grab_uk_atlas
tv_grab_uk_atlas.map.SAMPLE.conf tv_grab_uk_atlas.map.conf
tv_grab_uk_atlas.map.genre.conf
Log Message:
Add new UK grabber
--- NEW FILE: tv_grab_uk_atlas.map.conf ---
#
# Sample ~.map.conf file
#
# This file has two purposes:
# 1) Map the channel ids used by Atlas into something more meaningful to your PVR, e.g.
# map==cbdm==FILM4
# will change 'cbdm' to 'FILM4' in the output XML.
#
# These lines are of the form " map=={channel id}=={my name} ".
#
# Note: to pass tv_validate the "my name" portion must be a RFC2838 format name, e.g.
# map==cbdm==film4.atlas.co.uk
#
# 2) The second purpose is to likewise translate genre names. So if your PVR doesn't have
# a category for 'Science Fiction' but uses 'Sci-fi' instead, then you can specify
# cat==Science Fiction==Sci-fi
# and the output XML will have 'Sci-fi'.
#
# These lines are of the form " cat=={incoming genre}=={translated genre} ".
#
# If you want to delete a genre from the generated xml, then leave the 'translated genre' blank, e.g.
# cat==General Movie==
#
# A genre can be mapped to >1 translated genre (e.g. main genre + sub genre) by separating
# the 'translated genre' with a tilde character (~), e.g.
# cat==Adventure/War==Action Adventure~War
# will replace "Adventure/War" with the two seaparate genres "Action Adventure" and "War".
#
#
# Some example lines follow - delete these and replace with your own requirements.
#
#
# Translate the programme genres
#
cat==Environment==Nature
cat==General Movie==
cat==Advertisement==Shopping
cat==Science Fiction==Sci-fi
#
# Convert incoming channel ids to names which are acceptable to tv_validate_grabber
# (but may be rejected by your pvr!)
#
map==cbbw==bbc1.atlas.co.uk
map==cbbG==bbc2.atlas.co.uk
map==cbd2==itv1.atlas.co.uk
--- NEW FILE: atlasAPIkey ---
PUT YOUR API KEY HERE
--- NEW FILE: tv_grab_uk_atlas ---
#!/usr/bin/perl -w
#
# Copyright G. Westcott - September 2013
#
# This code is distributed under the GNU General Public License v2 (GPLv2) .
#
#
my $_version = '$Id: tv_grab_uk_atlas,v 1.1 2013/10/17 16:13:03 bilbo_uk Exp $';
eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
if 0; # not running under some shell
use strict;
use warnings;
use constant { true => 1, false => 0 };
use Data::Dumper;
[...1328 lines suppressed...]
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
=head1 SEE ALSO
L<xmltv(5)>.
=cut
--- NEW FILE: test.conf ---
cachedir=/tmp/.xmltv/cache
writeids=yes
platform=cbg2
region=cbhn
api-key=
publisher=bbc.co.uk
platform-title=Freeview
region-title=London
channel=cbbw
channel=cbbG
--- NEW FILE: tv_grab_uk_atlas.map.SAMPLE.conf ---
#
# Sample ~.map.conf file
#
# This file has two purposes:
# 1) Map the channel ids used by Atlas into something more meaningful to your PVR, e.g.
# map==cbdm==FILM4
# will change 'cbdm' to 'FILM4' in the output XML.
#
# These lines are of the form " map=={channel id}=={my name} ".
#
# Note: to pass tv_validate the "my name" portion must be a RFC2838 format name, e.g.
# map==cbdm==film4.atlas.co.uk
#
# 2) The second purpose is to likewise translate genre names. So if your PVR doesn't have
# a category for 'Science Fiction' but uses 'Sci-fi' instead, then you can specify
# cat==Science Fiction==Sci-fi
# and the output XML will have 'Sci-fi'.
#
# These lines are of the form " cat=={incoming genre}=={translated genre} ".
#
# If you want to delete a genre from the generated xml, then leave the 'translated genre' blank, e.g.
# cat==General Movie==
#
# A genre can be mapped to >1 translated genre (e.g. main genre + sub genre) by separating
# the 'translated genre' with a tilde character (~), e.g.
# cat==Adventure/War==Action Adventure~War
# will replace "Adventure/War" with the two seaparate genres "Action Adventure" and "War".
#
#
# Some example lines follow - delete these and replace with your own requirements.
#
#
# Translate the programme genres
#
cat==Environment==Nature
cat==General Movie==
cat==Advertisement==Shopping
cat==Science Fiction==Sci-fi
#
# Convert incoming channel ids to names which are acceptable to tv_validate_grabber
# (but may be rejected by your pvr!)
#
map==cbbw==bbc1.atlas.co.uk
map==cbbG==bbc2.atlas.co.uk
map==cbd2==itv1.atlas.co.uk
--- NEW FILE: tv_grab_uk_atlas.map.genre.conf ---
1000==Drama
1F00==Mystery
1F01==Animated
1F05==Biopic
1F06==Family
1F07==Medical Drama
1F08==Literary Adaptation
1F09==Storytelling/Reading
1100==Detective/Thriller
1F0A==Thriller
1F0B==Espionage
1F0C==Gangster
1F0D==Police/Crime Drama
1F0E==Prison Drama
1F04==Western
1200==Adventure/War
1F0F==Adventure
1F10==War
1F11==Disaster Movie
1300==Sci-Fi
1F02==Fantasy
1F03==Horror
1400==Comedy
1F12==Sitcom
1F13==Spoof
1F14==Sketches
1500==Soap
1600==Romance
1F15==Tearjerker
1700==Serious/Classical/Religious/Historical
1F17==Historical/Period Drama
1F16==Epic
1800==Adult
2000==News
2F02==News
2F03==Weather
2F04==National News
2F05==International News
2F06==Regional News
2200==News Magazine/Current Affairs
2300==Documentary
2F07==Discussion/Debate
2F08==Interview
3000==Entertainment
3F00==Family
3F01==Award Ceremonies
3F02==Magazine Show
3100==Game Show/Quiz
3F03==Challenge/Reality Show
3200==Variety Show
3300==Talk Show
4000==Sport
4100==Special Events
4200==Sports Magazines
4300==Football
4400==Tennis
4500==Team Sports
4600==Athletics
4700==Motor Sport
4800==Water Sport
4900==Winter Sports
4A00==Equestrian
4B00==Martial Sports
4C00==reserved
4F00==American Football
4F01==Archery
4F02==Australian Rules Football
4F03==Badminton
4F04==Baseball
4F05==Basketball
4F06==Billiards
4F07==Bowls
4F08==Boxing
4F09==Canoeing
4F0A==Combat Sports
4F0B==Competitive Dancing
4F0C==Domestic Cricket
4F0D==International Cricket
4F0E==Cycling
4F0F==Darts
4F10==Disabled
4F11==Extreme/Minority Sports
4F12==Fencing
4F13==Figure Skating
4F14==Fishing
4F15==Club Football
4F16==International Football
4F17==Formula One
4F19==Golf
4F1A==Greyhound Racing
4F1B==Gymnastics
4F1C==Hockey
4F1D==Horse racing
4F1E==Ice Hockey
4F1F==Ice Skating
4F20==Modern Pentathlon
4F21==Motorcycling
4F22==Mountainbiking
4F23==Netball
4F24==Olympics
4F25==Other
4F26==Physical Fitness
4F27==Polo
4F28==Pool
4F29==Powerboating
4F2A==Racquet/Bat Sports
4F2B==Rallying
4F2C==Rowing
4F2D==Domestic Rugby League
4F2E==International Rugby League
4F2F==Domestic Rugby Union
4F30==International Rugby Union
4F31==Sailing
4F32==Shooting
4F33==Skiing
4F34==Snooker
4F35==Squash
4F36==Strongman Contests
4F37==Sumo
4F39==Table Tennis
4F3A==Ten-Pin Bowling
4F3B==Triathlon
4F3C==Volleyball
4F3D==Weightlifting
4F3E==World Cup
4F3F==Wrestling
4F40==Aerobics
4F41==Bodybuilding
4F42==Curling
4F43==Beach Volleyball
4F44==Handball
4F45==Gaelic Football
4F46==Gaelic Games
4F47==Hurling
4F48==Swimming
4F49==Diving
4F4A==Poker
4F4B==Judo
4F4C==Taekwondo
4F4D==Synchronised Swimming
4F4E==Water Polo
4F4F==Paralympics
4F50==Boccia
4F51==Five-a-side Football
4F52==Seven-a-side Football
4F53==Goalball
4F54==Powerlifting
4F55==Wheelchair Basketball
4F56==Wheelchair Fencing
4F57==Wheelchair Rugby
4F58==Wheelchair Tennis
5000==Childrens
5100==Pre-school
5200==Entertainment (age 6-14)
5300==Entertainment (age 10-16)
5400==Schools Programmes
5500==Cartoon/Puppets
6000==Music
6F01==Easy Listening
6F02==World Music
6F03==Country & Western
6F06==Rock
6F07==Pop
6F08==Dance/Urban Music
6200==Classical
6300==Folk/Traditional
6400==Jazz
6F09==Musical
6F0A==Opera
6600==Ballet
6F05==Modern Dance
7000==Arts
7100==Performing Arts
7200==Fine Arts
7400==Pop Culture/TV
7500==Literature
7600==Film/Cinema
7700==Experimental Film
7800==Broadcasting/Press
7900==New Media
7A00==Arts magazine
7B00==Fashion
8000==Factual
8200==Economics
9000==Lifestyle
9F01==Docu-soap
9F02==Factual Crime
9F03==Agony Advice
9F04==Archaeology
9F05==History
9F06==Unexplained/Mysteries
9100==Nature/Animals/Environment
9F07==Wildlife
9F08==Environment
9F09==Rural/Agricultural
9F0A==Vets/Pets
9200==Technology
9300==Medical/Health
9400==Foreign Countries/Expeditions
9500==Spritual/Religious
9F00==Education
9700==Languages
A000==Lifestyle
AF01==Antiques/Collectibles
AF02==Computers/Internet/Gaming
A100==Travel/Tourism
A200==Handicraft
A300==Motoring
A400==Fitness and Health
A500==Cooking
A600==Advertisement/Shopping/Consumer
A700==Gardening
AF00==DIY
AF03==Property
B300==Live
BE00==reserved
BF00==Off-Air
BF01==Film
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk