diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index ad8ea50cc..e74fc1563 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -1030,7 +1030,7 @@ SQL; $file = $storedFile->getPropelOrm(); //Even local files are downloaded through the REST API in case we need to transform //their filenames (eg. in the case of a bad file extension, because Liquidsoap won't play them) - $uri = Application_Common_HTTPHelper::getStationUrl() . "/rest/media/" . $media_id; + $uri = Application_Common_HTTPHelper::getStationUrl() . "rest/media/" . $media_id; //$uri = $file->getAbsoluteFilePath(); $filesize = $file->getFileSize();