[mythtv-users] [PATCH] tv_grab_sn broken.

Terje Kvernes terjekv at math.uio.no
Sat Nov 22 21:39:58 EST 2003


  some classes changed names.  this simple patch seems to fix the
  problem.  I've also posted to the xmltv-devel list, they'll
  hopefully fix it soon enough.  ;-)

[minbar /] # diff -u /usr/bin/tv_grab_sn.old /usr/bin/tv_grab_sn
--- /usr/bin/tv_grab_sn.old     2003-11-23 03:29:10.000000000 +0100
+++ /usr/bin/tv_grab_sn 2003-11-23 03:28:25.603931470 +0100
@@ -462,11 +462,11 @@
                       );
 
            if (defined $third) {
-               my $title_class = 'charteventname';
+               my $title_class = 'stylecharteventname';
                my %classes = ($title_class => sub {
                                   push @{$program{title}}, [ $_ ];
                               },
-                              chartshowview => sub {
+                              stylechartshowview => sub {
                                   if (/^\[(\d+)\]$/) {
                                       $program{showview} = $1;
                                   }
@@ -474,7 +474,7 @@
                                       warn "bad showview number '$_'\n";
                                   }
                               },
-                              chartdescription => sub {
+                              stylechartdescription => sub {
                                   push @{$program{desc}}, [ $_ ];
                               },
                              );



-- 
Terje


More information about the mythtv-users mailing list