fix: adds download record at time of download
This commit is contained in:
@@ -25,6 +25,8 @@ class DownloadMediaInput implements InputInterface
|
||||
|
||||
#[SourceRequest('imdbId')]
|
||||
public string $imdbId,
|
||||
|
||||
public ?int $downloadId = null,
|
||||
) {}
|
||||
|
||||
public function toCommand(): CommandInterface
|
||||
@@ -35,6 +37,7 @@ class DownloadMediaInput implements InputInterface
|
||||
$this->filename,
|
||||
$this->mediaType,
|
||||
$this->imdbId,
|
||||
$this->downloadId,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user