feat: fix issues

This commit is contained in:
Rogee
2024-12-05 19:02:07 +08:00
parent 9f9d11f621
commit 6c456184f7

View File

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