Repository navigation
v1.6
Adds standby wake for Kodi remotes, so the TV can be woken and Kodi brought to the front from a phone without a PC involved.
- The on-device app listens on UDP
5600for Yatse Remote Starter's fixed marker and for a standard Wake-on-LAN magic packet, which is what Kore sends when its Wake-on-LAN port is set to5600. Either wakes the TV and launches Kodi. The listener recognises only those two shapes, never passes packet contents to ADB or a shell, and exposes no parameters. Both protocols are unauthenticated by design, so this is for a trusted local network only. - A Wake-on-LAN packet addressed to a different machine on the LAN is ignored, on devices where Android still lets an app read its own hardware addresses. Android 11 and later hide them, and there the listener accepts any well-formed packet as before.
- The wake action no longer blocks the listener. Remote apps send their wake packet more than once, and each duplicate used to queue another full wake sequence; now at most one runs at a time.
- The HTTP port of the on-device remote is configurable in the app. The default is unchanged at
8080— move it only if something on the TV already uses that port, Kodi's own HTTP server being the usual reason. - The battery-optimisation prompt opens the system settings screen instead of requesting a Play-restricted permission, and is shown once rather than on every start.
Contributed by @NicolasDaLuzDuque in #2, validated on a physical Nvidia Shield, with six adjustments from review and a re-test on the same hardware afterwards.
Signed with the same upload key (SHA-256: 4e2335afa65e6a6f0b42a30ef91f32fcad61c95d8ae153696f3293fdf8cbf563).