Merge branch 'devel' into cc-1960-internationalize-airtime
Conflicts: airtime_mvc/public/js/airtime/playlist/smart_blockbuilder.js
This commit is contained in:
commit
10b6dd202e
24 changed files with 370 additions and 393 deletions
|
@ -387,11 +387,12 @@ class PreferenceController extends Zend_Controller_Action
|
|||
|
||||
public function rescanWatchDirectoryAction()
|
||||
{
|
||||
$dir = Application_Model_MusicDir::getDirByPath(
|
||||
$this->getRequest()->getParam("dir"));
|
||||
$dir_path = $this->getRequest()->getParam('dir');
|
||||
$dir = Application_Model_MusicDir::getDirByPath($dir_path);
|
||||
$data = array( 'directory' => $dir->getDirectory(),
|
||||
'id' => $dir->getId());
|
||||
Application_Model_RabbitMq::SendMessageToMediaMonitor('rescan_watch', $data);
|
||||
Logging::info("Unhiding all files belonging to:: $dir_path");
|
||||
$dir->unhideFiles();
|
||||
die(); # Get rid of this ugliness later
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue