TV remote shuts down PI

Possibly your code, with noop as DBM suggested (and I’ve seen used elsewhere) will do it - worth a try

<rewind>noop</rewind>

Derek