CC-84: Smart Playlists

- started storing last played time in cc_files
- db column (lptime) already existed but was not being used before this
- will use this as a criteria for smart playlists
This commit is contained in:
denise 2012-07-19 18:07:39 -04:00
parent 9fcc851523
commit 647de9ed39
3 changed files with 35 additions and 7 deletions

View file

@ -966,4 +966,10 @@ class Application_Model_Schedule
return $overlapping;
}
public static function GetFileId($p_scheduleId)
{
$scheduledItem = CcScheduleQuery::create()->findPK($p_scheduleId);
return $scheduledItem->getDbFileId();
}
}