logo       

[ xmltv-Patches-1047447 ] tv_grab_no - patch from xmltv-devel adds categor: msg#00048

Subject: [ xmltv-Patches-1047447 ] tv_grab_no - patch from xmltv-devel adds categories
Patches item #1047447, was opened at 2004-10-14 16:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=424137&aid=1047447&group_id=39046

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: tv_grab_no - patch from  xmltv-devel adds categories

Initial Comment:
--- tv_grab_no.orig     Mon Oct  4 17:04:48 2004
+++ tv_grab_no  Mon Oct  4 17:13:30 2004
@@ -366,6 +366,10 @@
               die "didn't see title in @$row[0]" if
not defined $newtitle;
               $newtitle =~ s!.*>([^<]+)!$1!;

+               my $newcategory;
+               $newcategory = 'Movies' if @$row[1] =~
/film.gif/;
+               $newcategory = 'News' if @$row[0] =~
/background-color/;
+
               my $newdesc = $1 if @$row[1] =~
m/size=1>\n(.*)<br>\n<img/;
               $newdesc = encode_entities($newdesc) if
$newdesc;
               # OK for desc to be missing.
@@ -418,6 +422,7 @@
               $prog{subtitles} = [ { type =>
'teletext' } ] if $teletextsubs;
               $prog{subtitles} = [ { type =>
'onscreen' } ] if $normalsubs;
               $prog{'previously-shown'} = $rerun if
defined $rerun;
+               $prog{category} = [ [ $newcategory ] ]
if $newcategory;

               $writer->write_programme(\%prog);
               ++$count;


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=424137&aid=1047447&group_id=39046


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe