Skip to content

arensb/Roku-ECP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Roku::ECP: Roku External Control Protocol

Requirements:

Encode
URI
URI::Escape
LWP::UserAgent
FindBin

Roku External Control Guide: http://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide

Roku also supports DIAL. http://www.dial-multiscreen.org/dial-protocol-specification

SSDP

According to http://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide the Roku supports Simple Service Discovery Protocol (SSDP), which is the basis for UPnP.

I think that what that example doesn't tell you is that SSDP uses UDP, not TCP, so run 'ncat' with "-u".

Presumably need to send out the SSDP HTTP query out over UDP, while listening on UDP for incoming connections. By the same token, need to specify the port for the return connections to come in on.

Deep Linking

Channel Store

http://myroku.dom.ain:8060/launch/11?contentID=28

11 is the Channel Store. 28 is the ID of a channel in the store.

Also works with private channels, looks like. Doesn't work with string channel IDs, though.

YouTube

837 is the YouTube channel The ContentID is the YouTube video ID. http://myroku.dom.ain:8060/launch/837?contentID=sfbr8Y6NYL4

Pandora

Pandora channel ID: 28 http://myroku.dom.ain:8060/launch/28?contentID=40793346033480140

The contentID is the ID of a Pandora channel.

Amazon Instant Video

Channel ID: 13

There's probably a way to directly launch videos, but it's not as simple as 'contentID=<ASIN>'

About

Perl module for Roku External Control Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages