Warning: session_start(): open(/var/lib/php/sessions/sess_pjg45nqfdsd05vt4rk6mpt2lvb, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sclass VidFile {
File file;
double length = -1;
}
cmodule AJCBatch > DynObjectTable {
visualize {
JComponent sup = super.visualize();
ret jHandleMultiFileDrop(
//enclosingScrollPane(table),
withTitle("Drag video files here:", sup),
vf> onFileDrop);
}
void onFileDrop(L files) enter {
print("Have file drop");
Set haveFiles = collectAsSet file(data());
addAll(map(listMinusSet(files, haveFiles), f -> nu VidFile(file := f)));
}
start {
itemToMap = func(VidFile v) -> Map {
litorderedmap(
"Video" := fileName(v.file),
"Folder" := dirPath(v.file),
"Duration" := v.length < 0 ? "?" : formatMinuteAndSeconds(iceil(v.length))
)
};
}
}