summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave <vdr@pickles.me.uk>2015-11-02 14:30:57 +0000
committerDave <vdr@pickles.me.uk>2015-11-02 14:30:57 +0000
commit32c42cfcc8b220ea49aedc304e31ace4918306fc (patch)
tree4317f425946d242f6498c1c3126312842792128f
parent2977008f9dc1b00163bad9d190081b37560bfd4d (diff)
downloadvdrtva-32c42cfcc8b220ea49aedc304e31ace4918306fc.tar.gz
vdrtva-32c42cfcc8b220ea49aedc304e31ace4918306fc.tar.bz2
Create links.data file on first run, not when first link is created. Update TODO.
-rw-r--r--TODO10
-rw-r--r--vdrtva-2.3.c8
-rw-r--r--vdrtva.c8
3 files changed, 24 insertions, 2 deletions
diff --git a/TODO b/TODO
index ea571cf..64d6129 100644
--- a/TODO
+++ b/TODO
@@ -18,6 +18,16 @@ Remove reliance on VDR "Housekeeping" callback - causes problems when VDR is bus
Remove need to patch core VDR for accurate recordings.
+Better compliance with NORDIG specification:
+ - Series lifetime should be 91 days (14.3.3)
+ - Default Authority of a channel may change (14.3.3)
+ - VDR timers list should show if event is part of a series (14.3.3)
+ - Option to record series via CLI (14.3.3.1)
+ - Use CRIDs to offer better choice for late recording (14.3.13)
+ - Timer conflict resolution per spec (14.3.16.2)
+
+Fix data capture at startup for devices which have no RTC (eg Raspberry Pi).
+
Bugs:
Very rare crash 'pure virtual method called' in plugin - possibly solved.
VDR crash under specific circumstances, cannot reproduce elsewhere.
diff --git a/vdrtva-2.3.c b/vdrtva-2.3.c
index b64f1ea..a9a74d7 100644
--- a/vdrtva-2.3.c
+++ b/vdrtva-2.3.c
@@ -1414,7 +1414,13 @@ void cLinks::Load()
fclose (f);
isyslog("vdrtva: loaded %d series links", MaxNumber());
}
- else esyslog("vdrtva: series links file not found");
+ else {
+ if (f = fopen(curlinks, "w")) {
+ isyslog("vdrtva: created new empty series links file");
+ fclose (f);
+ }
+ else esyslog("vdrtva: failed to create new empty series links file");
+ }
dirty = false;
}
diff --git a/vdrtva.c b/vdrtva.c
index 18b6a4e..c7a7c23 100644
--- a/vdrtva.c
+++ b/vdrtva.c
@@ -1407,7 +1407,13 @@ void cLinks::Load()
fclose (f);
isyslog("vdrtva: loaded %d series links", MaxNumber());
}
- else esyslog("vdrtva: series links file not found");
+ else {
+ if (f = fopen(curlinks, "w")) {
+ isyslog("vdrtva: created new empty series links file");
+ fclose (f);
+ }
+ else esyslog("vdrtva: failed to create new empty series links file");
+ }
dirty = false;
}