getDbPodcastId(); // We may have more station podcasts later, so use this instead of checking the id stored in Preference $podcast = StationPodcastQuery::create()->findOneByDbPodcastId($podcastId); if ($podcast) { $fileId = $this->getDbFileId(); $key = Application_Model_Preference::getStationPodcastDownloadKey(); return Application_Common_HTTPHelper::getStationUrl(false)."rest/media/$fileId/download?download_key=$key"; } return parent::getDbDownloadUrl(); } }