Export films

This commit is contained in:
Dan Jones 2023-10-08 23:01:28 -05:00
commit dfc11d7a7f
5 changed files with 71 additions and 14 deletions

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace App\Data;
use Illuminate\Support\Carbon;
@ -15,10 +17,14 @@ class WatchFile extends Data
public ?string $showTmdb = null;
public ?string $showImdb = null;
public ?string $showTitle = null;
public ?string $movieTmdb = null;
public ?string $movieImdb = null;
public int $movieYear = 1900;
public ?string $epNfo = null;
public int $season = 0;
public int $episode = 0;
public Carbon $watched;
public Enums\Type $type = Enums\Type::Unknown;
public static function fromPath(string $path): static
{