2019-09-28, 11:20 PM
Quote:I think the next issue I'm running into is a permissions one, where the NPVR files are outputting with permissions that won't allow for the files to be modified in the directory. Is there a NPVR setting I could change or would it be possible for me to add a line into my PostProcessing.sh to change the directory permissions? Not sure what the best practice is. Thanks for you help!
I had the same problem, so I did this in ParallelProcessing.sh:
Quote:#!/bin/bash
# --------------------------
# ParallelProcessing.sh
# D.Little
# Verson 100 - 1st Linux shell translation
# dated 09/08/2019
# --------------------------
echo _____________________________________________________________________________________________________________________ >>/config/logs/processing.log
echo $(date "+%d/%m/%Y %T") - $3 - Recording started on $1 recorded channel $2 on tuner $4 >>/config/logs/processing.log
#Make work directory writable from any PC so files can be copied, written to etc.
workdir=$(dirname "$1")
chmod 777 "$workdir"
# End of script
exit 0
This allows me to manipulate recordings from my windows based PCs.
Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
Linux Client: Raspberry Pi 3+, OSMC + Kodi
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
Linux Client: Raspberry Pi 3+, OSMC + Kodi