summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2012-12-20 19:23:24 +0100
committerChristian Wieninger <cwieninger@gmx.de>2012-12-20 19:23:24 +0100
commit41903ba9ebaa35299d53bffa66a009c8b797a41d (patch)
tree67343f255620642e94cd48498907c9fa5f65947d /searchtimer_thread.c
parent1a055e2b409eec52dc75641c436605712af14a49 (diff)
downloadvdr-plugin-epgsearch-41903ba9ebaa35299d53bffa66a009c8b797a41d.tar.gz
vdr-plugin-epgsearch-41903ba9ebaa35299d53bffa66a009c8b797a41d.tar.bz2
- changed some warning types
- use macros INFO and ERROR
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index 6c97639..b042555 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -523,7 +523,7 @@ void cSearchTimerThread::Action(void)
if (announceList.Count() > 0)
{
cString msgfmt = cString::sprintf(tr("%d new broadcast(s) found! Show them?"), announceList.Count());
- if (SendMsg(msgfmt, true,7) == kOk)
+ if (SendMsg(msgfmt, true, 7) == kOk)
{
m_plugin->showAnnounces = true;
cRemote::CallPlugin("epgsearch");
@@ -564,7 +564,7 @@ void cSearchTimerThread::Action(void)
!cDevice::PrimaryDevice()->Replaying() ||
conflictCheck.nextRelevantConflictDate - now < 2*60*60 ||
(updateForced & UPDS_WITH_OSD);
- if (doMessage && SendMsg(msgfmt, true,7) == kOk)
+ if (doMessage && SendMsg(msgfmt, true,7,mtWarning) == kOk)
{
m_plugin->showConflicts = true;
cRemote::CallPlugin("epgsearch");
@@ -1050,7 +1050,7 @@ void cSearchTimerThread::CheckEPGHours()
if (EPGSearchConfig.checkEPGWarnByOSD)
{
cString msgfmt = cString::sprintf(tr("small EPG content on:%s"), sBuffer.c_str());
- SendMsg(msgfmt);
+ SendMsg(msgfmt, false, 0, mtWarning);
}
if (EPGSearchConfig.checkEPGWarnByMail)
{