public function createListItemAction()
 {
     try {
         $request = $this->getRequest();
         $params = $request->getPost();
         Logging::info($params);
         $historyService = new Application_Service_HistoryService();
         $json = $historyService->createPlayedItem($params);
         if (isset($json["form"])) {
             $this->view->form = $json["form"];
             $json["form"] = $this->view->render('playouthistory/dialog.phtml');
             unset($this->view->form);
         }
         $this->_helper->json->sendJson($json);
     } catch (Exception $e) {
         Logging::info($e);
         Logging::info($e->getMessage());
     }
 }