SAAS-1080: Station podcast feed

This commit is contained in:
drigato 2015-10-19 11:54:53 -04:00
parent 30d742af92
commit 14104a93ae
14 changed files with 347 additions and 316 deletions

View file

@ -5,6 +5,10 @@ class PodcastFactory
public static function create($feedUrl)
{
// check if station podcast exists and if not, create one
$stationPodcastId = Application_Model_Preference::getStationPodcastId();
if (empty($stationPodcastId)) {
Application_Service_PodcastService::createStationPodcast();
}
return Application_Service_PodcastService::createFromFeedUrl($feedUrl);
}