summaryrefslogtreecommitdiff
path: root/timers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'timers.cpp')
-rw-r--r--timers.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/timers.cpp b/timers.cpp
index 5335381..7f46cab 100644
--- a/timers.cpp
+++ b/timers.cpp
@@ -140,6 +140,22 @@ namespace vdrlive {
return info.str();
}
+ string SortedTimers::SearchTimerName(cTimer const& timer)
+ {
+ ostringstream info;
+ if (timer.Aux())
+ {
+ string epgsearchinfo = GetXMLValue(timer.Aux(), "epgsearch");
+ if (!epgsearchinfo.empty())
+ {
+ string searchtimer = GetXMLValue(epgsearchinfo, "searchtimer");
+ if (!searchtimer.empty())
+ info << searchtimer;
+ }
+ }
+ return info.str();
+ }
+
#if VDRVERSNUM >= 20301
bool SortedTimers::Modified()
{