1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

The epg2html.pl script now handles '|' in description texts

This commit is contained in:
Klaus Schmidinger 2004-03-28 11:16:17 +02:00
parent 3c4010bb75
commit 1c11b72619
2 changed files with 4 additions and 3 deletions

View File

@ -2746,7 +2746,7 @@ Video Disk Recorder Revision History
- Now explicitly turning on the LNB power at startup, because newer drivers don't
do this any more (thanks to Oliver Endriss for pointing this out).
2004-03-26: Version 1.3.7
2004-03-28: Version 1.3.7
- Fixed a memory leak in thread handling when using NPTL (thanks to Jon Burgess).
- Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6.
@ -2758,3 +2758,4 @@ Video Disk Recorder Revision History
Pekka Virtanen).
- Moved several menu item classes from menu.c to menuitems.[hc] to make them
available for plugins.
- The epg2html.pl script now handles '|' in description texts.

View File

@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: epg2html.pl 1.5 2004/02/22 13:18:27 kls Exp $
# $Id: epg2html.pl 1.6 2004/03/28 11:15:01 kls Exp $
@Index = ();
@ -51,7 +51,7 @@ while (<>) {
while (<>) {
if (/^T (.*)/) { $Title = Tags($1); }
elsif (/^S (.*)/) { $Subtitle = Tags($1); }
elsif (/^D (.*)/) { $Description = Tags($1); }
elsif (/^D (.*)/) { $Description = Tags($1); $Description =~ s/\|/<br>/g; }
elsif (/^V (.*)/) { $Vps = $1; }
elsif (/^e/) {
$Events{$Time} = [($Duration, $Title, $Subtitle, $Description, $Vps)];