Added handling of created_manual, revert some file_path()
This commit is contained in:
@@ -8,6 +8,7 @@ class Video extends Abstracted\Catalog
|
||||
{
|
||||
// ID3 Object
|
||||
private $_o = NULL;
|
||||
protected $dates = ['created','created_manual'];
|
||||
|
||||
public function getIDLinkAttribute()
|
||||
{
|
||||
@@ -124,6 +125,11 @@ class Video extends Abstracted\Catalog
|
||||
return isset($data[$key]) ? $data[$key] : NULL;
|
||||
}
|
||||
|
||||
public function setDateCreated()
|
||||
{
|
||||
$this->created = strtotime($this->property('creationdate'));
|
||||
}
|
||||
|
||||
public function setLocation()
|
||||
{
|
||||
$this->gps_lat = $this->property('gps_lat');
|
||||
|
Reference in New Issue
Block a user