delete episode issue fixed

pull/24/head
Akhil Gupta 4 years ago
parent c6f78f504f
commit 57af9be213

@ -174,10 +174,10 @@ func DeleteEpisodeFile(podcastItemId string) error {
err = DeleteFile(podcastItem.DownloadPath)
if !os.IsNotExist(err) {
if err != nil && !os.IsNotExist(err) {
return err
}
fmt.Println("Setting file as deleted")
return SetPodcastItemAsNotDownloaded(podcastItem.ID, db.Deleted)
}
func DownloadSingleEpisode(podcastItemId string) error {

Loading…
Cancel
Save