mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-08 02:30:52 +08:00
fix: redownload
This commit is contained in:
@@ -254,8 +254,12 @@ func (s *Server) downloadMovie() {
|
||||
log.Errorf("no related dummy episode: %v", detail.NameEn)
|
||||
continue
|
||||
}
|
||||
ep := detail.Episodes[0]
|
||||
if ep.Status == episode.StatusDownloaded {
|
||||
continue
|
||||
}
|
||||
|
||||
if err := s.downloadMovieSingleEpisode(detail.Episodes[0]); err != nil {
|
||||
if err := s.downloadMovieSingleEpisode(ep); err != nil {
|
||||
log.Errorf("download movie error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user