CC-2272: Ability to change storage directory location
-done
This commit is contained in:
parent
eaba145d6d
commit
67df619c90
6 changed files with 31 additions and 18 deletions
|
@ -128,8 +128,10 @@ class PreferenceController extends Zend_Controller_Action
|
|||
|
||||
if ($bool === true) {
|
||||
MusicDir::setStorDir($chosen);
|
||||
$dirId = MusicDir::getStorDir()->getId();
|
||||
$data = array();
|
||||
$data["directory"] = $chosen;
|
||||
$data["dir_id"] = $dirId;
|
||||
RabbitMq::SendMessageToMediaMonitor("change_stor", $data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue