summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2012-01-08 20:39:07 +0100
committerChristian Wieninger <cwieninger@gmx.de>2012-01-08 20:39:07 +0100
commit50828c595b4967074a9e0e3cef8cef1b64c9d2e1 (patch)
tree969e6674a88b9bb835192107cad593154e6e7a06 /searchtimer_thread.c
parenteedb728f5e2f48607a739d15d3ba1053728684ab (diff)
downloadvdr-plugin-epgsearch-50828c595b4967074a9e0e3cef8cef1b64c9d2e1.tar.gz
vdr-plugin-epgsearch-50828c595b4967074a9e0e3cef8cef1b64c9d2e1.tar.bz2
sort search timers by timer priority and search term
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index cd73cae..af67988 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -241,6 +241,7 @@ void cSearchTimerThread::Action(void)
// for thread safeness we work with a copy of the current searches,
// because SVDRP would not work if the main thread would be locked
cSearchExts* localSearchExts = SearchExts.Clone();
+ localSearchExts->SortBy(CompareSearchExtPrioDescTerm);
cSearchExt *searchExt = localSearchExts->First();
// reset announcelist
announceList.Clear();