diff --git a/tools/stream/transcode.php b/tools/stream/transcode.php index 1de6cb8e..7780fcd1 100644 --- a/tools/stream/transcode.php +++ b/tools/stream/transcode.php @@ -32,7 +32,6 @@ // some settings define('OB_STREAM_VERSION', 1); // update this to re-transcode, etc. -define('OB_THUMBNAIL_VERSION', 1); // update this to regenerate thumbnails // db init require(__DIR__.'/../../components.php'); @@ -54,8 +53,6 @@ AND ( stream_version IS NULL OR stream_version < '.OB_STREAM_VERSION.' - OR thumbnail_version IS NULL - OR thumbnail_version < '.OB_THUMBNAIL_VERSION.' ) '); @@ -215,7 +212,7 @@ } // handle thumbnail creation next -// handle stream/transcode first +/* foreach ($media as $item) { // skip item if up to date if ($item['thumbnail_version']>=OB_THUMBNAIL_VERSION) { @@ -320,3 +317,4 @@ $db->update('media', ['thumbnail_version'=>OB_THUMBNAIL_VERSION]); } } +*/ \ No newline at end of file