summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-01-09 13:42:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-01-09 13:42:41 +0100
commitd1ddb3978185ce8b3a7f783fac74b82a352fd650 (patch)
treec8bcd73d403a300a942db03118427f6f61f59c98 /vdr.c
parent882273d508675c22d54b5a367b70729f6adee6cb (diff)
downloadvdr-d1ddb3978185ce8b3a7f783fac74b82a352fd650.tar.gz
vdr-d1ddb3978185ce8b3a7f783fac74b82a352fd650.tar.bz2
The channel/CAM relations are now stored in the file 'cam.data'; fixed a flaw in handling timeouts for encrypted channels
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 8a494714..15dd2c02 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 4.9 2016/12/23 14:34:37 kls Exp $
+ * $Id: vdr.c 4.10 2017/01/09 13:22:09 kls Exp $
*/
#include <getopt.h>
@@ -878,6 +878,10 @@ int main(int argc, char *argv[])
if (!cPositioner::GetPositioner()) // no plugin has created a positioner
new cDiseqcPositioner;
+ // CAM data:
+
+ ChannelCamRelations.Load(AddDirectory(CacheDirectory, "cam.data"));
+
// Channel:
if (!cDevice::WaitForAllDevicesReady(DEVICEREADYTIMEOUT))
@@ -1555,6 +1559,7 @@ Exit:
StopSVDRPClientHandler();
StopSVDRPServerHandler();
+ ChannelCamRelations.Save();
PluginManager.StopPlugins();
cRecordControls::Shutdown();
RecordingsHandler.DelAll();