Dolby Vision for Minix U22X-J (Max) and Ugoos AM6+

Cooked up a small systemd service to automatically restart the Kodi service on resume from sleep. In case anyone needs it:

CoreELEC-BDR:~ # cat  /storage/.config/system.d/onresume.service
[Unit]
Description=Restart Kodi after resume
After=suspend.target

[Service]
Type=simple
ExecStart=/bin/systemctl --no-block restart kodi.service
# ExecStart=/usr/bin/systemctl --no-block restart kodi.service

[Install]
WantedBy=suspend.target


CoreELEC-BDR:~ # systemctl enable onresume.service;systemctl start onresume.service
3 Likes