diff --git a/auth.php b/auth.php index 37a6ebd..f9dec0b 100644 --- a/auth.php +++ b/auth.php @@ -10,7 +10,7 @@ function mvlog_session_start(): void { 'path' => '/mvlog', 'secure' => $secure, 'httponly' => true, - 'samesite' => 'Lax', + 'samesite' => 'Strict', ]); session_start(); } diff --git a/config.php b/config.php index 7661134..e6d8c16 100644 --- a/config.php +++ b/config.php @@ -1,6 +1,6 @@ "Movmaker WebUI", + "site_name" => "Admin MVLog", "videos_dir" => __DIR__ . "/out-dir", "thumbs_dir" => __DIR__ . "/thumbs", "uploads_dir" => __DIR__ . "/in-dir", diff --git a/lib/generate_data_sync.php b/lib/generate_data_sync.php index ce1cfc8..c0516ff 100644 --- a/lib/generate_data_sync.php +++ b/lib/generate_data_sync.php @@ -71,7 +71,7 @@ exec($cmd, $out_lines, $rc); $log = implode("\n", $out_lines); // If gemini_generated.json exists, parse and return -$gfile = $jobdir . '/gemini_generated.json'; +$gfile = dirname($jobdir) . '/' . basename($jobdir) . '.json'; if (is_file($gfile)) { $raw = @file_get_contents($gfile); $json = @json_decode($raw, true); diff --git a/new.php b/new.php index bc9a989..d7a146e 100644 --- a/new.php +++ b/new.php @@ -548,11 +548,9 @@ $runningJobs = active_worker_jobs($config); -
RenderingDescribeEdit

No videoPreview video

· files

+
RenderingEdit

No videoPreview video

· files

Edit input dir

in-dir/

This input directory is . Editing is disabled until the job completes.
-

Edit input dir

in-dir/

Files and captions

No caption for audio files
- -
+

Edit input dir

in-dir/

Files and captions

No caption for audio files

Add new movie input