IM-733 Create Development timetable for Airtime Development
IM-777 Database structure for new History Feature
This commit is contained in:
parent
163b4a0aa5
commit
328c1f3cac
51 changed files with 15531 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue