Browse Source

更新删除任务的日志描述

Signed-off-by: allan716 <[email protected]>
allan716 3 years ago
parent
commit
c83cdbe428
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pkg/downloader/downloader.go

+ 2 - 2
pkg/downloader/downloader.go

@@ -212,7 +212,7 @@ func (d *Downloader) QueueDownloader() {
 			epsVideoNfoInfo, err := decode.GetVideoNfoInfo4OneSeriesEpisode(oneJob.VideoFPath)
 			if err != nil {
 				d.log.Errorln("decode.GetVideoNfoInfo4OneSeriesEpisode()", err)
-				d.log.Infoln("will delete this job")
+				d.log.Infoln("maybe your moved video file to another place or delete it, so will delete this job")
 				bok, err = d.downloadQueue.Del(oneJob.Id)
 				if err != nil {
 					d.log.Errorln("d.downloadQueue.Del()", err)
@@ -227,7 +227,7 @@ func (d *Downloader) QueueDownloader() {
 			seriesInfoDirPath := decode.GetSeriesDirRootFPath(oneJob.VideoFPath)
 			if seriesInfoDirPath == "" {
 				d.log.Errorln(fmt.Sprintf("decode.GetSeriesDirRootFPath == Empty, %s", oneJob.VideoFPath))
-				d.log.Infoln("will delete this job")
+				d.log.Infoln("you need check the directory structure of a series, so will delete this job")
 				bok, err = d.downloadQueue.Del(oneJob.Id)
 				if err != nil {
 					d.log.Errorln("d.downloadQueue.Del()", err)