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