SAAS-1148: Add station podcast to Radio Page

Skeleton is done. Download link works. Play link not yet done.
This commit is contained in:
drigato 2015-10-26 15:24:33 -04:00
parent 7f05d5c05e
commit 73e7e6e021
4 changed files with 26 additions and 5 deletions

View file

@ -40,6 +40,12 @@ class IndexController extends Zend_Controller_Action
}
$this->view->displayLoginButton = $displayRadioPageLoginButtonValue;
//station feed episodes
$podcastEpisodesService = new Application_Service_PodcastEpisodeService();
$stationPodcastId = Application_Model_Preference::getStationPodcastId();
$episodes = $podcastEpisodesService->getPodcastEpisodes($stationPodcastId);
$this->view->episodes = json_encode($episodes);
}
public function mainAction()