diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-01-09 13:42:41 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-01-09 13:42:41 +0100 |
commit | d1ddb3978185ce8b3a7f783fac74b82a352fd650 (patch) | |
tree | c8bcd73d403a300a942db03118427f6f61f59c98 /vdr.c | |
parent | 882273d508675c22d54b5a367b70729f6adee6cb (diff) | |
download | vdr-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.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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(); |