Logo Search packages:      
Sourcecode: vdr-plugin-live version File versions  Download package

bool vdrlive::RecordingsManager::IsArchived ( cRecording const *  recording  )  [static]

Determine wether the recording has been archived on removable media (e.g. DVD-ROM)

Definition at line 92 of file recman.cpp.

      {
            string filename = recording->FileName();

            string vdrFile = filename + "/001.vdr";
            if (0 == access(vdrFile.c_str(), R_OK))
                  return false;

            filename += "/dvd.vdr";
            return (0 == access(filename.c_str(), R_OK));
      }


Generated by  Doxygen 1.6.0   Back to index