diff --git a/plugin/JustWatch/feed.json.php b/plugin/JustWatch/feed.json.php index 6d30fb74699d..dc4b6a38603b 100644 --- a/plugin/JustWatch/feed.json.php +++ b/plugin/JustWatch/feed.json.php @@ -29,20 +29,20 @@ $rows = Video::getAllVideosLight(); foreach ($rows as $row) { $element = array(); - $element['id'] = $row['id']; + $element['id'] = ''.$row['id']; + //$element['object_type'] = 'movie'; $element['object_type'] = 'movie'; $element['original_title'] = $row['title']; $element['original_description'] = $row['description']; $element['images'] = array(); $posters = Video::getMediaSessionPosters($row['id']); foreach ($posters as $key => $value) { - $element['images'][] = array( 'url' => $value['url'], 'image_type' => 'poster', 'width' => $key, 'height' => $key, - //'language' => 'en', + 'language' => 'en', ); $array['contents'][] = $element; }