code wiki / (root) / nx_galx_vid_audit.nx

nx_galx_vid_audit.nx

buildroot/runtime/nx_galx_vid_audit.nx

7321 B127 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic galx
docsdependenciesstructsconstsfunctions

about

nx_galx_vid_audit.nx -- SOVEREIGN audit of the gallery's VIDEO delivery (operator 2026-06-23: "majority of media not working ... the images i generated work but the other stuff is broken ... use our own nishi ecosystem"). The video index galx_vid_paths.tsv was found pointing at /volume1/logging/#recycle/*.ts (the Synology TRASH). This organ proves how dead the index is and discovers where live recordings actually live. Reads the NAS directly via syscalls (mount: /volume1/<share> => /mnt/nas_<share>). No sh. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_galx_vid_audit.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main av_puts sys_write av_strlen sys_mmap sys_openat_rd sys_exit sys_read sys_close av_find av_map av_cat av_exists sys_openat_rd ↻ sys_close ↻ av_cat ↻ av_strlen ↻ av_putn sys_write ↻ sys_mmap ↻ av_list av_puts ↻ sys_openat_rd ↻ sys_mmap ↻ sys_getdents64 dirent_reclen dirent_type dirent_name av_is_dot sys_close ↻ av_putn ↻

structs

none

consts

7const AV_MAGIC_65536: i64 = 65536
8const AV_MAGIC_2048: i64 = 2048
10const AV_CAP: i64 = 524288
11const AV_SAMPLES: i64 = 60

functions

13func av_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: av_putsmain
14func av_puts(s: *u8) -> i64 { sys_write(1, s, av_strlen(s)); return 0 }
called by 2: av_listmain calls 2: sys_writeav_strlen
15func av_putn(v: i64) -> i64
called by 2: av_listmain calls 2: sys_writesys_mmap
25func av_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { dst[off + i] = s[i]; i = i + 1 } return off + i }
called by 2: av_mapmain
26func av_find(buf: *u8, lo: i64, hi: i64, pat: *u8, pl: i64) -> i64
called by 1: main
32func av_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
33func av_is_dot(name: *u8) -> i64 { if name[0]==(46 as u8) { if name[1]==(0 as u8) { return 1 } if name[1]==(46 as u8) { if name[2]==(0 as u8) { return 1 } } } return 0 }
called by 1: av_list
36func av_map(src: *u8, vs: i64, ve: i64, out: *u8) -> i64
called by 1: main calls 1: av_cat
45func av_list(dirpath: *u8, label: *u8) -> i64
68func main() -> i64