Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
ee98c8fba5
|
@ -90,9 +90,9 @@ class LibraryController extends Zend_Controller_Action
|
|||
|
||||
protected function playlistNotFound($p_type)
|
||||
{
|
||||
$this->view->error = "{$p_type} not found";
|
||||
$this->view->error = "$p_type not found";
|
||||
|
||||
Logging::info("{$p_type} not found");
|
||||
Logging::info("$p_type not found");
|
||||
Application_Model_Library::changePlaylist(null, $p_type);
|
||||
$this->createFullResponse(null);
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ class UserController extends Zend_Controller_Action
|
|||
# TODO : remove this. we only use default for now not to break the UI.
|
||||
if (!$files_action) { # set default action
|
||||
$files_action = "reassign_to";
|
||||
$valid_actions =
|
||||
$delId = 1;
|
||||
}
|
||||
|
||||
# only delete when valid action is selected for the owned files
|
||||
|
|
|
@ -78,11 +78,11 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
|
|||
$username = $subjs->getDbLogin();
|
||||
|
||||
return array(
|
||||
"name" => $this->webstream->getDbName(),
|
||||
"length" => $this->webstream->getDbLength(),
|
||||
"name" => $this->webstream->getDbName(),
|
||||
"length" => $this->webstream->getDbLength(),
|
||||
"description" => $this->webstream->getDbDescription(),
|
||||
"login"=> $username,
|
||||
"url" => $this->webstream->getDbUrl(),
|
||||
"login" => $username,
|
||||
"url" => $this->webstream->getDbUrl(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class FakeMutagen(dict):
|
|||
FakeInfo = namedtuple('FakeInfo','length bitrate')
|
||||
def __init__(self,path):
|
||||
self.path = path
|
||||
self.mime = []
|
||||
self.mime = ['audio/wav']
|
||||
self.info = FakeMutagen.FakeInfo(0.0, '')
|
||||
dict.__init__(self)
|
||||
def set_length(self,l):
|
||||
|
|
Loading…
Reference in New Issue