From ed1294c92581a41d133431ac7ac35125b360c47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Se=C4=8D?= Date: Tue, 15 May 2018 09:21:35 +0200 Subject: [PATCH] Fix import of TV enabled videos (#50) --- src/Controller/OmniaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/OmniaController.php b/src/Controller/OmniaController.php index cca8bc9..df8054f 100644 --- a/src/Controller/OmniaController.php +++ b/src/Controller/OmniaController.php @@ -389,7 +389,7 @@ protected function prepareData() { 'isHYVE' => !empty($this->videoData->itemData->publishingdata->allowedOnSmartTV) ? (int) $this->videoData->itemData->publishingdata->allowedOnSmartTV : 0, 'validfrom_hyve' => !empty($this->videoData->itemData->publishingdata->validFromSmartTV) ? (int) $this->videoData->itemData->publishingdata->validFromSmartTV : 0, 'validto_hyve' => !empty($this->videoData->itemData->publishingdata->validUntilSmartTV) ? (int) $this->videoData->itemData->publishingdata->validUntilSmartTV : 0, - 'encodedHYVE' => !empty($this->videoData->itemData->publishingdata->validUntilSmartTV) ? (int) $this->videoData->itemData->publishingdata->validUntilSmartTV : 0, + 'encodedHYVE' => !empty($this->videoData->itemData->publishingdata->isEncoded) ? (int) $this->videoData->itemData->publishingdata->isEncoded : 0, 'isMOBILE' => !empty($this->videoData->itemData->publishingdata->allowedOnMobile) ? (int) $this->videoData->itemData->publishingdata->allowedOnMobile : 0, 'validfrom_mobile' => !empty($this->videoData->itemData->publishingdata->validFromMobile) ? (int) $this->videoData->itemData->publishingdata->validFromMobile : 0,