.NET Library for communicating with Roku devices over the external control protocol (ECP). Read more at https://developer.roku.com/docs/developer-program/dev-tools/external-control-api.md.
An example of usage:
IPAddress playerIpAddress = IPAddress.Parse("192.168.1.69");
RokuPlayer player = new(playerIpAddress);
Console.WriteLine("This device's serial number is {0}.", player.SerialNumber);
// -> This device's serial number is YL003F587777.Features:
- Simple player remote control
- Player typing control
- Query player properties
To Do:
- Update tests to run properly with GitHub actions
- Keydown/keyup commands
- Research automation of developer channel uploads
- Add built-in "secret screen" shortcuts
- Telnet player control
- Support for player clusters: send a command or sequence of commands to more than one device to automate testing multiple player models
Known issues:
- Some secret screen shortcuts cannot be reached using ECP. Needs further research, but Telnet control may be able to do so.
- Some tests may fail due to Task termination after wait period
- Some tests may fail due to incorrect exception type