feat: fix issues
This commit is contained in:
@@ -70,7 +70,7 @@ func (d *DiscoverMedias) RunE(from, to string) error {
|
||||
return errors.Wrapf(err, "ffmpeg video to m3u8: %s", video)
|
||||
}
|
||||
|
||||
d.log.Infof("snapshot", video)
|
||||
d.log.Info("snapshot", video)
|
||||
posterPath := filepath.Join(to, "poster.jpg")
|
||||
if err := d.ffmpegVideoToPoster(video, posterPath, 5); err != nil {
|
||||
return errors.Wrapf(err, "ffmpeg snapshot : %s", video)
|
||||
|
||||
Reference in New Issue
Block a user