Example #1
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     }
     return $va_status;
 }
Example #2
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     } else {
         if (!caMediaPluginFFfmpegInstalled($this->ops_path_to_ffmpeg)) {
             $va_status['errors'][] = _t("Didn't load because ffmpeg is not installed");
         }
     }
     return $va_status;
 }
Example #3
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     $this->register();
     $va_status['available'] = true;
     if (!caMediaPluginFFmpegInstalled()) {
         $va_status['errors'][] = _t("Incoming video files will not be transcoded because ffmpeg is not installed.");
     }
     if (caMediaInfoInstalled()) {
         $va_status['notices'][] = _t("MediaInfo will be used to extract metadata from video files.");
     }
     return $va_status;
 }
Example #4
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     }
     if (!caMediaPluginGhostscriptInstalled($this->ops_ghostscript_path)) {
         $va_status['warnings'][] = _t("Ghostscript cannot be found: image previews will not be created");
     }
     if (!caMediaPluginPdftotextInstalled($this->ops_pdftotext_path)) {
         $va_status['warnings'][] = _t("PDFToText cannot be found: indexing of text in PDF files will not be performed; you can obtain PDFToText at http://www.foolabs.com/xpdf/download.html");
     }
     if (!caPDFMinerInstalled($this->ops_pdfminer_path)) {
         $va_status['warnings'][] = _t("PDFMiner cannot be found: indexing of text locations in PDF files will not be performed; you can obtain PDFMiner at http://www.unixuser.org/~euske/python/pdfminer/index.html");
     }
     return $va_status;
 }
Example #5
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     $this->register();
     $va_status['available'] = true;
     if (!$this->opb_ffmpeg_available) {
         $va_status['errors'][] = _t("Incoming Audio files will not be transcoded because ffmpeg is not installed.");
     }
     if ($this->opb_mediainfo_available) {
         $va_status['notices'][] = _t("MediaInfo will be used to extract metadata from video files.");
     }
     return $va_status;
 }
Example #6
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     } else {
         if (caMediaPluginCoreImageInstalled($this->ops_CoreImage_path)) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because CoreImageTool is available and preferred");
         }
         if (caMediaPluginImagickInstalled()) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because Imagick/ImageMagick is available and preferred");
         }
         if (caMediaPluginImageMagickInstalled($this->ops_imagemagick_path)) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because ImageMagick (command-line) is available and preferred");
         }
         if (caMediaPluginGmagickInstalled()) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because Gmagick is available and preferred");
         }
         if (caMediaPluginGraphicsMagickInstalled($this->ops_graphicsmagick_path)) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because GraphicsMagick is available and preferred");
         }
         if (!caMediaPluginGDInstalled()) {
             $va_status['errors'][] = _t("Didn't load because your PHP install lacks GD support");
         }
     }
     return $va_status;
 }
Example #7
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     } else {
         if (!caMediaPluginGmagickInstalled()) {
             $va_status['errors'][] = _t("Didn't load because Gmagick is not available");
         }
     }
     if (!caMediaPluginDcrawInstalled($this->ops_dcraw_path)) {
         $va_status['warnings'][] = _t("RAW image support is not enabled because DCRAW cannot be found");
     }
     return $va_status;
 }
Example #8
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     } else {
         if (caMediaPluginImagickInstalled()) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because Imagick is available and preferred");
         }
         if (caMediaPluginGmagickInstalled()) {
             $va_status['unused'] = true;
             $va_status['warnings'][] = _t("Didn't load because Gmagick is available and preferred");
         }
         if (!caMediaPluginGraphicsMagickInstalled($this->ops_graphicsmagick_path)) {
             $va_status['errors'][] = _t("Didn't load because GraphicsMagick executables cannot be found");
         }
     }
     return $va_status;
 }
Example #9
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     } else {
         if (!caMediaPluginCoreImageInstalled($this->ops_CoreImage_path)) {
             $va_status['errors'][] = _t("Didn't load because CoreImageTool executable cannot be found");
         }
     }
     return $va_status;
 }
Example #10
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     }
     if (!$this->opb_libre_office_installed) {
         $va_status['warnings'][] = _t("LibreOffice cannot be found: conversion to PDF and generation of page previews will not be performed; you can obtain LibreOffice at http://www.libreoffice.org/");
     }
     if (!$this->opb_libre_office_installed && !$this->opb_abiword_installed) {
         $va_status['warnings'][] = _t("ABIWord cannot be found: indexing of text in non-XML Microsoft Word files will not be performed; you can obtain ABIWord at http://www.abisource.com/");
     }
     return $va_status;
 }
Example #11
0
 public function checkStatus()
 {
     $va_status = parent::checkStatus();
     if ($this->register()) {
         $va_status['available'] = true;
     }
     if (!$this->opb_libre_office_installed) {
         $va_status['warnings'][] = _t("LibreOffice cannot be found: conversion to PDF and generation of page previews will not be performed; you can obtain LibreOffice at http://www.libreoffice.org/");
     }
     return $va_status;
 }