Also... Looks like the fix you proposed for error checking in auto-unprotect is in the latest version - this is what I have:
Code:
humax# cat /mnt/hd2/mod/etc/recmon.d/auto-unprotect
#!/mod/bin/jimsh
if {[lindex $argv 0] ne "-stop"} exit
source /mod/webif/lib/setup
require ts.class
set file [lindex $argv 1]
set ts [ts fetch "$file.ts"]
if {$ts eq "0"} exit
while {[$ts inuse]} { sleep 30 }
exec /mod/sbin/unprotect "$file.ts"
if {[$ts get definition] eq "HD"} {
loop i 1 4 {
sleep 60
exec /mod/sbin/unprotect --dlna
}
}
humax#