Alternative suspend option for IR wakeup, when bl301 tool not possible

The service can stop/start Kodi instead of pausing/unpausing it, but that adds ~5sec for Kodi to start back up. It would be better to figure out what the cause of the video playback issues was.

I don’t see any video playback problems even after multiple suspend/resumes. I’m primarily using PlexKodiConnect for video streaming. How are you playing back your content? If it’s a smb, nfs vs https issue, there might be a related service that can be restarted instead of restarting Kodi altogether.

This is the suspend service with kodi restarting. Replace the old service and either reboot or ssh in and run systemctl daemon-reload for the change to take effect.
systemd-suspend.service (912 Bytes)