Updates for Videos

This commit is contained in:
Deon George
2019-12-15 23:34:42 +11:00
parent 075d31e9f4
commit 49933382f3
14 changed files with 376 additions and 254 deletions

View File

@@ -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();
}