CC-2795: Give option to set download flag of recorded shows
uploaded to Soundcloud by default - done
This commit is contained in:
parent
8ef8dbc668
commit
7e3d25eeaa
8 changed files with 73 additions and 8 deletions
|
@ -40,13 +40,15 @@ class Application_Model_AtSoundcloud {
|
|||
$tags = Application_Model_Preference::GetSoundCloudTags();
|
||||
}
|
||||
|
||||
$downloadable = Application_Model_Preference::GetSoundCloudDownloadbleOption() == '1'?true:false;
|
||||
|
||||
$track_data = array(
|
||||
'track[sharing]' => 'private',
|
||||
'track[title]' => $filename,
|
||||
'track[asset_data]' => '@' . $filepath,
|
||||
'track[tag_list]' => $tags,
|
||||
'track[description]' => $description,
|
||||
'track[downloadable]' => true,
|
||||
'track[downloadable]' => $downloadable,
|
||||
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue