diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 340ee7f7b..62ce22c65 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -1783,6 +1783,9 @@ class ProcessAdditional } } catch (\RuntimeException $e) { Log::debug($e->getMessage()); + + } catch (\TypeError $e) { + Log::debug($e->getMessage()); } } @@ -2103,7 +2106,7 @@ class ProcessAdditional // Look for the video file. if (File::isFile($fileLocation)) { try { - $xmlArray = $this->mediaInfo->getInfo($fileLocation, false); + $xmlArray = $this->mediaInfo->getInfo($fileLocation, true); // Check if we got it. @@ -2123,6 +2126,10 @@ class ProcessAdditional } catch (\RuntimeException $e) { Log::debug($e->getMessage()); + return false; + } catch (\TypeError $e) { + Log::debug($e->getMessage()); + return false; } }