/[mplayer-eee-tv]/program/xmltv.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /program/xmltv.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19 by dpavlin, Sat Oct 31 13:29:41 2009 UTC revision 20 by dpavlin, Sat Oct 31 13:53:52 2009 UTC
# Line 81  foreach my $hh ( 0 .. 23 ) { Line 81  foreach my $hh ( 0 .. 23 ) {
81                          if ( $programs->{$c}->[0]->[0] == $hh * 60 + $mm ) {                          if ( $programs->{$c}->[0]->[0] == $hh * 60 + $mm ) {
82                                  my $p = shift @{ $programs->{$c} };                                  my $p = shift @{ $programs->{$c} };
83                                  my $span = $p->[1]; # - 1;                                  my $span = $p->[1]; # - 1;
84                                  push @td, join(''  
85                                          , qq|<td rowspan=$span>|                                  my $html = '';
86                                          , join("\n"                                  $html = join("\n"
87                                                  , qq|<span class="hhmm">$hhmm<br>$span</span>|                                          , qq|<span class="hhmm">$hhmm<br>$span</span>|
88                                                  , $p->[2]->{title}->{content} || ''                                          , $p->[2]->{title}->{content}
89                                                  , "<!-- $c -->"                                          , "<!-- $c -->"
90                                          )                                  ) if $p->[2];
91                                          . qq|</td>|  
92                                  );                                  push @td, qq|<td rowspan=$span>$html</td>|;
93                          }                          }
94                  }                  }
95    

Legend:
Removed from v.19  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26