SAAS-951 - fix SoundCloud capitalization
This commit is contained in:
parent
ffaa076767
commit
452c17650c
|
@ -103,6 +103,7 @@ define('PROVISIONING_STATUS_ACTIVE' , 'Active');
|
||||||
define("TUNEIN_API_URL", "http://air.radiotime.com/Playing.ashx");
|
define("TUNEIN_API_URL", "http://air.radiotime.com/Playing.ashx");
|
||||||
|
|
||||||
// SoundCloud
|
// SoundCloud
|
||||||
|
define('SOUNDCLOUD', 'SoundCloud');
|
||||||
define('DEFAULT_SOUNDCLOUD_LICENSE_TYPE', 'all-rights-reserved');
|
define('DEFAULT_SOUNDCLOUD_LICENSE_TYPE', 'all-rights-reserved');
|
||||||
define('DEFAULT_SOUNDCLOUD_SHARING_TYPE', 'public');
|
define('DEFAULT_SOUNDCLOUD_SHARING_TYPE', 'public');
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,6 @@ class LibraryController extends Zend_Controller_Action
|
||||||
->addActionContext('delete-group', 'json')
|
->addActionContext('delete-group', 'json')
|
||||||
->addActionContext('context-menu', 'json')
|
->addActionContext('context-menu', 'json')
|
||||||
->addActionContext('get-file-metadata', 'html')
|
->addActionContext('get-file-metadata', 'html')
|
||||||
->addActionContext('upload-file-soundcloud', 'json')
|
|
||||||
->addActionContext('get-upload-to-soundcloud-status', 'json')
|
|
||||||
->addActionContext('set-num-entries', 'json')
|
->addActionContext('set-num-entries', 'json')
|
||||||
->addActionContext('edit-file-md', 'json')
|
->addActionContext('edit-file-md', 'json')
|
||||||
->initContext();
|
->initContext();
|
||||||
|
@ -275,7 +273,7 @@ class LibraryController extends Zend_Controller_Action
|
||||||
$menu["sep1"] = "-----------";
|
$menu["sep1"] = "-----------";
|
||||||
|
|
||||||
//create a sub menu for Soundcloud actions.
|
//create a sub menu for Soundcloud actions.
|
||||||
$menu["soundcloud"] = array("name" => _("Soundcloud"), "icon" => "soundcloud", "items" => array());
|
$menu["soundcloud"] = array("name" => _(SOUNDCLOUD), "icon" => "soundcloud", "items" => array());
|
||||||
|
|
||||||
$serviceId = $soundcloudService->getServiceId($id);
|
$serviceId = $soundcloudService->getServiceId($id);
|
||||||
if (!is_null($file) && $serviceId != 0) {
|
if (!is_null($file) && $serviceId != 0) {
|
||||||
|
|
Loading…
Reference in New Issue