Fix podcast episode ingest

This commit is contained in:
Duncan Sommerville 2015-10-15 11:33:09 -04:00
parent 40d0619f10
commit a2d725f2b9
2 changed files with 13 additions and 4 deletions

View file

@ -6,7 +6,7 @@ class Rest_PodcastController extends Zend_Rest_Controller
{
/**
* @var Application_Service_PodcastService
* @var Application_Service_PodcastEpisodeService
*/
protected $_service;
@ -124,7 +124,7 @@ class Rest_PodcastController extends Zend_Rest_Controller
// to prevent the user from trying to download them again while Celery is running
$episodes = $this->_service->addPodcastEpisodePlaceholders($requestData["podcast"]["id"],
$requestData["podcast"]["episodes"]);
//$this->_service->downloadEpisodes($episodes);
$this->_service->downloadEpisodes($episodes);
$podcast = Application_Service_PodcastService::updatePodcastFromArray($id, $requestData);
$this->getResponse()