diff --git a/app/Console/Commands/VideoThumbnail.php b/app/Console/Commands/VideoThumbnail.php new file mode 100644 index 00000000..c2d01aa6 --- /dev/null +++ b/app/Console/Commands/VideoThumbnail.php @@ -0,0 +1,52 @@ +whereNull('thumbnail_path') + ->take($limit) + ->get(); + foreach($videos as $video) { + Pipeline::dispatchNow($video); + } + } +}