numbers wrong if autodownload paused

pull/18/head^2
Akhil Gupta 4 years ago
parent ebb323819d
commit a25d17955c

@ -178,8 +178,12 @@ func AddPodcastItems(podcast *db.Podcast) error {
}
var downloadStatus db.DownloadStatus
if i < limit {
downloadStatus = db.NotDownloaded
if setting.AutoDownload {
if i < limit {
downloadStatus = db.NotDownloaded
} else {
downloadStatus = db.Deleted
}
} else {
downloadStatus = db.Deleted
}

Loading…
Cancel
Save