IM-733 Create Development timetable for Airtime Development

IM-777
Database structure for new History Feature
This commit is contained in:
Naomi 2013-07-03 15:19:05 -04:00
parent 163b4a0aa5
commit 328c1f3cac
51 changed files with 15531 additions and 0 deletions

View file

@ -363,6 +363,9 @@ class ApiController extends Zend_Controller_Action
$media_id = $this->_getParam("media_id");
Logging::debug("Received notification of new media item start: $media_id");
Application_Model_Schedule::UpdateMediaPlayedStatus($media_id);
$historyService = new Application_Service_HistoryService();
$historyService->insertPlayedItem($media_id);
//set a 'last played' timestamp for media item
//needed for smart blocks