Removed logging and fix parameter variable
This commit is contained in:
parent
2485e70bbe
commit
7177fc7bed
|
@ -37,7 +37,6 @@ class PodcastManager {
|
|||
// but will at least continue to ingest new episodes.
|
||||
if (!empty($episodes)) {
|
||||
$podcast->setDbAutoIngestTimestamp(gmdate('r', strtotime($episodes[0]->getDbPublicationDate())))->save();
|
||||
Logging::info($episodes);
|
||||
$service->downloadEpisodes($episodes);
|
||||
}
|
||||
}
|
||||
|
@ -102,4 +101,4 @@ class PodcastManager {
|
|||
return (strtotime($a["pub_date"]) < strtotime($b["pub_date"])) ? 1 : -1; // Descending order
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -133,7 +133,7 @@ class Application_Service_PodcastEpisodeService extends Application_Service_Thir
|
|||
foreach($episodes as $episode) {
|
||||
$podcast = $episode->getPodcast();
|
||||
Logging::info($episode);
|
||||
$this->_download($episode->getDbId(), $episode->getDbDownloadUrl(), $podcast->getDbTitle(), $this->_getAlbumOverride($podcast), $episode["title"]);
|
||||
$this->_download($episode->getDbId(), $episode->getDbDownloadUrl(), $podcast->getDbTitle(), $this->_getAlbumOverride($podcast), $episode->getDbEpisodeTitle());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue