Remove "large" from scripts
authorChristian Weiske <cweiske@cweiske.de>
Sun, 17 Nov 2019 15:26:39 +0000 (16:26 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 17 Nov 2019 15:26:39 +0000 (16:26 +0100)
bin/convert-original.php
bin/print-image-urls.php
bin/replace-game-images-by-list

index d940d6f..e6e5f9d 100755 (executable)
@@ -115,7 +115,6 @@ $gameData = [
 
     'media' => [
         'discover'    => 'http://ouya.cweiske.de/game-images/' . strtolower($package) . '/discover',
-        'large'       => $appsData->app->mainImageFullUrl,
         'video'       => $appsData->app->videoUrl,
         'screenshots' => $appsData->app->filepickerScreenshots,
         'details'     => details($detailsData->mediaTiles),
index 75cb3a8..8420d74 100755 (executable)
@@ -13,7 +13,6 @@ foreach ($files as $file) {
     $data = json_decode(file_get_contents($file));
     $package = $data->packageName;
     collectFile($package, $data->media->discover, 'discover');
-    collectFile($package, $data->media->large, 'large');
     if (count($data->media->screenshots ?? [])) {
         $pos = 0;
         foreach ($data->media->screenshots as $url) {
index 74df284..8127194 100755 (executable)
@@ -30,7 +30,6 @@ foreach ($files as $file) {
     $data = json_decode(file_get_contents($file));
     $package = $data->packageName;
     replaceImage($data->media->discover);
-    replaceImage($data->media->large);
     if (count($data->media->screenshots ?? [])) {
         $pos = 0;
         foreach ($data->media->screenshots as &$url) {