Update VideoThumbnail, add MediaStoragePipeline

pull/2587/head
Daniel Supernault 4 years ago
parent 9051c1f998
commit 98c44f7bdb
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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);
}
}

Loading…
Cancel
Save