summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-29 21:40:48 +0200
committerTheTroll <trolldev@gmail.com>2010-03-29 21:40:48 +0200
commit757a348d254dc4dffe2042b0690942208222f106 (patch)
treeffe9cf47fe79eac7cccbd83b609c59e9ac9661d3 /bin/vdr.php
parente5be8abc4947cc00fb199dfdd4ab394f1a88a99c (diff)
downloadistreamdev-757a348d254dc4dffe2042b0690942208222f106.tar.gz
istreamdev-757a348d254dc4dffe2042b0690942208222f106.tar.bz2
Replace | by <br>
Diffstat (limited to 'bin/vdr.php')
-rw-r--r--bin/vdr.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/vdr.php b/bin/vdr.php
index f1bd495..c27dc4a 100644
--- a/bin/vdr.php
+++ b/bin/vdr.php
@@ -323,7 +323,7 @@ function vdrgetepgat($channum, $at)
if(ereg("^T ", $epg[$i]))
$title = substr($epg[$i], 2);
else if(ereg("^D ", $epg[$i]))
- $desc = substr($epg[$i], 2);
+ $desc = preg_replace("/\|/", "<br>", substr($epg[$i], 2));
else if(ereg("^E ", $epg[$i]))
{
$time = substr($epg[$i], 2);
@@ -627,9 +627,9 @@ function vdrgetrecinfo($rec)
$channame = substr($channame, strlen($channames[0])+1);
}
else if(ereg("^T", $allepg[$i]))
- $epgtitle=substr($allepg[$i], 2);
+ $epgtitle = substr($allepg[$i], 2);
else if(ereg("^D", $allepg[$i]))
- $epgdesc=substr($allepg[$i], 2);
+ $epgdesc = preg_replace("/\|/", "<br>", substr($allepg[$i], 2));
else if(ereg("^E ", $allepg[$i]))
{
$time = substr($allepg[$i], 2);