Update VideoThumbnail, add MediaStoragePipeline

This commit is contained in:
Daniel Supernault 2021-01-24 18:58:38 -07:00
parent 9051c1f998
commit 98c44f7bdb
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -12,6 +12,7 @@ use Cache;
use FFMpeg;
use Storage;
use App\Media;
use App\Jobs\MediaPipeline\MediaStoragePipeline;
class VideoThumbnail implements ShouldQueue
{
@ -65,5 +66,7 @@ class VideoThumbnail implements ShouldQueue
if($media->status_id) {
Cache::forget('status:transformer:media:attachments:' . $media->status_id);
}
MediaStoragePipeline::dispatch($media);
}
}