Updates for Videos
This commit is contained in:
@@ -6,9 +6,6 @@ use Illuminate\Console\Command;
|
||||
|
||||
class CatalogScan extends Command
|
||||
{
|
||||
// Our photo object
|
||||
private $o = NULL;
|
||||
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
@@ -72,8 +69,10 @@ class CatalogScan extends Command
|
||||
|
||||
$o->scanned = '1';
|
||||
|
||||
if ($o->getDirty())
|
||||
if ($o->getDirty()) {
|
||||
$this->warn(sprintf('Image [%s] metadata changed',$o->file_path()));
|
||||
//dump($o->getDirty());
|
||||
}
|
||||
|
||||
$o->save();
|
||||
}
|
||||
|
Reference in New Issue
Block a user