Example #1
0
 /**
  * Verify a file is a NFO and add it to the database.
  *
  * @param string $fileLocation
  */
 protected function _processNfoFile($fileLocation)
 {
     $data = @file_get_contents($fileLocation);
     if ($data !== false) {
         if ($this->_nfo->isNFO($data, $this->_release['guid']) === true) {
             if ($this->_nfo->addAlternateNfo($data, $this->_release, $this->_nntp) === true) {
                 $this->_releaseHasNoNFO = false;
             }
         }
     }
 }