summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave <vdr@pickles.me.uk>2012-04-10 18:01:30 +0100
committerDave <vdr@pickles.me.uk>2012-04-10 18:01:30 +0100
commit53226edab8e7e2cc4fe012d98ab68dae86a5aba5 (patch)
treec941bcf42addb05d7eb4b319b6e1c2db530c375e
parent861c4924afb316ee8a7e30814b91f8bb378c0239 (diff)
downloadvdrtva-53226edab8e7e2cc4fe012d98ab68dae86a5aba5.tar.gz
vdrtva-53226edab8e7e2cc4fe012d98ab68dae86a5aba5.tar.bz2
Ignore repeating timers.
-rw-r--r--vdrtva.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdrtva.c b/vdrtva.c
index 0a5425b..c0ff475 100644
--- a/vdrtva.c
+++ b/vdrtva.c
@@ -594,7 +594,7 @@ bool cPluginvdrTva::UpdateLinksFromTimers()
for (cTimer *ti = Timers.First(); ti; ti = Timers.Next(ti)) {
// find the event for this timer
const cEvent *event = ti->Event();
- if (event && ti->HasFlags(tfActive)) {
+ if (event && ti->HasFlags(tfActive) && (ti->WeekDays() == 0)) {
cChannel *channel = Channels.GetByChannelID(event->ChannelID());
// find the sCRID and iCRID for the event
cChanDA *chanda = ChanDAs->GetByChannelID(channel->Number());
@@ -721,7 +721,7 @@ void cPluginvdrTva::FindAlternatives(const cEvent *event)
cSchedulesLock SchedulesLock;
const cSchedules *schedules = cSchedules::Schedules(SchedulesLock);
if (!eventcrid || !chanda) {
- isyslog("Cannot find alternatives for '%s' - no series link data", event->Title());
+ REPORT("Cannot find alternatives for '%s' - no part of a series", event->Title());
return;
}
bool found = false;