mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
19 lines
888 B
Diff
19 lines
888 B
Diff
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
## 02_timers_colon.dpatch by Timo Weingärtner <timo@tiwe.de>
|
|
##
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
## DP: colons have to be replaced by pipes in timer titles.
|
|
|
|
@DPATCH@
|
|
--- vdr-plugin-live-0.2.0/timers.cpp 2008-04-10 22:06:05.000000000 +0200
|
|
+++ vdr-plugin-live-0.2.0.new/timers.cpp 2009-07-25 23:39:02.000000000 +0200
|
|
@@ -138,7 +138,7 @@
|
|
ostringstream builder;
|
|
builder << flags << ":" << channel << ":" << ( weekdays != "-------" ? weekdays : "" )
|
|
<< ( weekdays == "-------" || day.empty() ? "" : "@" ) << day << ":" << start << ":" << stop << ":"
|
|
- << priority << ":" << lifetime << ":" << title << ":" << aux;
|
|
+ << priority << ":" << lifetime << ":" << StringReplace(title, ":", "|") << ":" << aux;
|
|
// dsyslog("%s", builder.str().c_str());
|
|
|
|
TimerPair timerData( timer, builder.str() );
|