浏览代码

尝试修复bug

Signed-off-by: allan716 <[email protected]>
allan716 3 年之前
父节点
当前提交
9bfc2274af
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pkg/video_scan_and_refresh_helper/video_scan_and_refresh_helper.go

+ 2 - 2
pkg/video_scan_and_refresh_helper/video_scan_and_refresh_helper.go

@@ -853,8 +853,8 @@ func (v *VideoScanAndRefreshHelper) scrabbleUpVideoListEmby(emby *EmbyScanVideoR
 				videoFileName := filepath.Base(oneEpsMixInfo.PhysicalVideoFileFullPath)
 				videoFileName := filepath.Base(oneEpsMixInfo.PhysicalVideoFileFullPath)
 				epsVideoNfoInfo, err := decode.GetVideoNfoInfo4OneSeriesEpisode(oneEpsMixInfo.PhysicalVideoFileFullPath)
 				epsVideoNfoInfo, err := decode.GetVideoNfoInfo4OneSeriesEpisode(oneEpsMixInfo.PhysicalVideoFileFullPath)
 				if err != nil {
 				if err != nil {
-					v.log.Errorln("GetVideoInfoFromFileName", err)
-					break
+					v.log.Warningln("GetVideoInfoFromFileName", err)
+					continue
 				}
 				}
 				// 匹配上了前缀就替换这个,并记录
 				// 匹配上了前缀就替换这个,并记录
 				epsFUrl := path_helper.ChangePhysicalPathToSharePath(oneEpsMixInfo.PhysicalVideoFileFullPath, oneSeriesDirPath.Path, desUrl)
 				epsFUrl := path_helper.ChangePhysicalPathToSharePath(oneEpsMixInfo.PhysicalVideoFileFullPath, oneSeriesDirPath.Path, desUrl)