Fix tabs bugs and podcast auto-ingest error
This commit is contained in:
parent
d08e19a93a
commit
9af7f6dcdd
5 changed files with 26 additions and 19 deletions
|
@ -35,8 +35,10 @@ class PodcastManager {
|
|||
// that we're ingesting.
|
||||
// Note that this folds to the failure case (Celery task timeout/download failure)
|
||||
// but will at least continue to ingest new episodes.
|
||||
$podcast->setDbAutoIngestTimestamp(gmdate('r', strtotime($episodes[0]->getDbPublicationDate())))->save();
|
||||
$service->downloadEpisodes($episodes);
|
||||
if (!empty($episodes)) {
|
||||
$podcast->setDbAutoIngestTimestamp(gmdate('r', strtotime($episodes[0]->getDbPublicationDate())))->save();
|
||||
$service->downloadEpisodes($episodes);
|
||||
}
|
||||
}
|
||||
|
||||
Application_Model_Preference::setPodcastPollLock(microtime(true));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue