diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 56e589bd9..8be6cd639 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -177,7 +177,7 @@ class Application_Model_StoredFile $this->_file->setDbOwnerId( $owner->getDbId() ); } else { Logging::info("Could not find suitable owner for file - '".$p_md['MDATA_KEY_FILEPATH']."'"); + '".$p_md['filepath']."'"); } } # We don't want to process owner_id in bulk because we already diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index 1ef177678..3b7c956be 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -616,7 +616,7 @@ var AIRTIME = (function(AIRTIME) { text: aData.track_title }, ajax: { - url: baseUrl+"/Library/get-file-meta-data", + url: baseUrl+"/Library/get-file-metadata", type: "get", data: ({format: "html", id : aData.id, type: aData.ftype}), success: function(data, status) {