Do not continually try to decrypt zero byte recordings
This commit is contained in:
parent
1725bce452
commit
98dc8bdfd1
@ -11,6 +11,10 @@ proc ::decrypt::dequeue {q ts} {
|
|||||||
return {"OK" "Already decrypted"}
|
return {"OK" "Already decrypted"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {![$ts size]} {
|
||||||
|
return {"FAILED" "Zero-byte recording, cannot process"}
|
||||||
|
}
|
||||||
|
|
||||||
if {![system dlnastatus]} {
|
if {![system dlnastatus]} {
|
||||||
if {[system instandby]} {
|
if {[system instandby]} {
|
||||||
# Prevent polling every minute
|
# Prevent polling every minute
|
||||||
|
Loading…
Reference in New Issue
Block a user