Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 6c23f7f1b6c6de5b5a204f6ee1a3aa3c > files > 1

vdr-plugin-live-0.2.0-10.mga3.src.rpm

#! /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() );