I am using Roku's with a video switch and an external encoder for broadcast automation. I start the Roku Medial Player manually on USB folder-based play lists. It works better than expected. But I need more control over the media player USB video content. It's extremely easy in PowerShell to SSDP and ECP.
After I get the ROKU IP via SSDP and start the Roku Video Player via:
Invoke-RestMethod -Uri "http://$($deviceIP):8060/launch/2213" -Method Post
I am able to control the content using Keypress sequences, but it is too high maintenance.
for example:
Invoke-RestMethod -Uri "http://$($deviceIP):8060/keypress/Right" -Method Post
Invoke-RestMethod -Uri "http://$($deviceIP):8060/keypress/Select" -Method Post
Also,
One issue with using keypress sequences is the channel remembers where it left off. This can mess up keypress sequences. If I run a bunch of back keypresses, I can start fresh but that's pretty clunky.
Ideally, being able to use the Media Player Search with type Filename would work fine but I can't find any ECP documentation for Roku Media Player Search commands.
The ability to ECP specific Roku Media Player content via search or Rest Call is HIGHLY desirable for use in broadcast automation. I am solutions architect. I have found the Roku Media Player is a low-cost reliable high-quality solution to broadcast automation - If I can control the Media Player content smoothly.
Thank in advance.