CC-2572 : Set Proper Metadata for a recorded show
This commit is contained in:
parent
2fa8cb132a
commit
7d79fa7b63
|
@ -361,7 +361,6 @@ class ApiController extends Zend_Controller_Action
|
||||||
|
|
||||||
if (isset($show_name)) {
|
if (isset($show_name)) {
|
||||||
$tmpTitle = "$show_name-$show_start_time";
|
$tmpTitle = "$show_name-$show_start_time";
|
||||||
$tmpTitle = str_replace(":", "-", $tmpTitle);
|
|
||||||
$tmpTitle = str_replace(" ", "-", $tmpTitle);
|
$tmpTitle = str_replace(" ", "-", $tmpTitle);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -370,6 +369,7 @@ class ApiController extends Zend_Controller_Action
|
||||||
|
|
||||||
$file->setMetadataValue('MDATA_KEY_TITLE', $tmpTitle);
|
$file->setMetadataValue('MDATA_KEY_TITLE', $tmpTitle);
|
||||||
$file->setMetadataValue('MDATA_KEY_CREATOR', "Airtime Show Recorder");
|
$file->setMetadataValue('MDATA_KEY_CREATOR', "Airtime Show Recorder");
|
||||||
|
$file->setMetadataValue('MDATA_KEY_TRACKNUMBER', null);
|
||||||
|
|
||||||
if (!$showCanceled && Application_Model_Preference::GetDoSoundCloudUpload())
|
if (!$showCanceled && Application_Model_Preference::GetDoSoundCloudUpload())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue