On Fri, 15 Jun 2018 16:06:07 +0100, RobH declaimed the
following:
>I'm not sure what you mean about RAMname and NASName
>
> RAMname = os.path.join("/run/shm", fname)
> NASname = os.path.join("/mnt/CCTV/PiZero" , fname)
>
My full suggestion was to change the camera capture statement (which
was using RAMname) to directly use NASname. THEN comment out the
shutil.copyfile() and the unlink() -- since the camera is no longer
creating the local RAM data file.
As long as the network speed is fast enough, those changes would mean
the capture file is directly generated in the NAS (or the camera capture
itself will fail with permission problems -- again, ignoring the script,
unless you can copy files from your home directory to /mnt/CCTV/PiZero
without getting an error, the script is not going to succeed.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|