protected function updateEntryThumbnail() { if ($this->getEntryStatus() != entryStatus::READY || !strlen($this->getThumbnailUrl()) || $this->getThumbnailSaved()) { return; } try { $entry = entryPeer::retrieveByPK($this->getObjectId()); if ($entry) { myEntryUtils::createThumbnailAssetFromFile($entry, $this->getThumbnailUrl()); $this->setThumbnailSaved(true); } } catch (Exception $e) { KalturaLog::err($e->getMessage()); return; } }