mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
feat: file browser + relink for orphaned files + htmx fix + header cleanup + fix relinked FilePond integration + resolve acces.php conflict markers
This commit is contained in:
@@ -325,7 +325,14 @@ $_buildQueueFilesJson = function (array $files, string $queueType): array {
|
||||
// Include PeerTube files too — load.php now handles them
|
||||
$result[] = [
|
||||
'source' => (string)((int)$f['id']),
|
||||
'options' => ['type' => 'local'],
|
||||
'options' => [
|
||||
'type' => 'local',
|
||||
'file' => [
|
||||
'name' => $f['file_name'] ?? basename($f['file_path'] ?? ''),
|
||||
'size' => (int)($f['file_size'] ?? 0),
|
||||
'type' => $f['mime_type'] ?? 'application/octet-stream',
|
||||
],
|
||||
],
|
||||
];
|
||||
}
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user