CC-2572 : Set Proper Metadata for a recorded show

This commit is contained in:
Naomi Aro 2011-07-19 19:02:23 +02:00
parent 2fa8cb132a
commit 7d79fa7b63
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,6 @@ class ApiController extends Zend_Controller_Action
if (isset($show_name)) {
$tmpTitle = "$show_name-$show_start_time";
$tmpTitle = str_replace(":", "-", $tmpTitle);
$tmpTitle = str_replace(" ", "-", $tmpTitle);
}
else {
@ -370,6 +369,7 @@ class ApiController extends Zend_Controller_Action
$file->setMetadataValue('MDATA_KEY_TITLE', $tmpTitle);
$file->setMetadataValue('MDATA_KEY_CREATOR', "Airtime Show Recorder");
$file->setMetadataValue('MDATA_KEY_TRACKNUMBER', null);
if (!$showCanceled && Application_Model_Preference::GetDoSoundCloudUpload())
{