Do not continually try to decrypt zero byte recordings

This commit is contained in:
HummyPkg 2017-03-13 18:17:13 +00:00
parent 1725bce452
commit 98dc8bdfd1

View File

@ -11,6 +11,10 @@ proc ::decrypt::dequeue {q ts} {
return {"OK" "Already decrypted"}
}
if {![$ts size]} {
return {"FAILED" "Zero-byte recording, cannot process"}
}
if {![system dlnastatus]} {
if {[system instandby]} {
# Prevent polling every minute