Upload artwork using drag and drop or click to browse using track edit.
This commit is contained in:
parent
7701d0f438
commit
a65ab11d9f
6 changed files with 334 additions and 3 deletions
|
@ -400,6 +400,12 @@ class LibraryController extends Zend_Controller_Action
|
|||
} else {
|
||||
$serialized[$j["name"]] = $j["value"];
|
||||
}
|
||||
|
||||
if ($j["name"] == "artwork_uploaded") {
|
||||
if ($j["value"] != null || $j["value"] != ''){
|
||||
$serialized["artwork"] = FileDataHelper::uploadArtwork($file_id, $j["value"] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Sanitize any wildly incorrect metadata before it goes to be validated.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue