summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-28 11:16:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-28 11:16:17 +0200
commit1c11b7261942ebee1e4fd28397cc44beea4c8d7c (patch)
tree5b6851c50973f86e136bf553cadc55e43061e865
parent3c4010bb7525dc6497d38584692b8085d0f4fcad (diff)
downloadvdr-1c11b7261942ebee1e4fd28397cc44beea4c8d7c.tar.gz
vdr-1c11b7261942ebee1e4fd28397cc44beea4c8d7c.tar.bz2
The epg2html.pl script now handles '|' in description texts
-rw-r--r--HISTORY3
-rwxr-xr-xepg2html.pl4
2 files changed, 4 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index f01465a7..86570253 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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.
diff --git a/epg2html.pl b/epg2html.pl
index c6e6f9cf..6b258466 100755
--- a/epg2html.pl
+++ b/epg2html.pl
@@ -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)];