Add PodcastEpisodeStatusError

This commit is contained in:
sentriz
2021-03-04 19:30:33 +00:00
committed by Senan Kelly
parent 3c926aab99
commit 51dc407f2e
2 changed files with 2 additions and 1 deletions

View File

@@ -458,7 +458,7 @@ func (p *Podcasts) doPodcastDownload(podcastEpisode *db.PodcastEpisode, file *os
podcastTags, err := tags.New(podcastPath)
if err != nil {
log.Printf("error parsing podcast audio: %e", err)
podcastEpisode.Status = "error"
podcastEpisode.Status = db.PodcastEpisodeStatusError
p.DB.Save(podcastEpisode)
return nil
}