Forum Discussion

bbrouse's avatar
bbrouse
Visitor
11 years ago

Deep Linking with mediaType

I'm integrating Roku's deep linking functionality into our channel, and am running into a roadblock when I try and test. I want to pass both contentID and mediaType as arguments on channel launch, but I can only get one or the other to successfully pass into the main function.

The docs say that this curl command should do the trick
curl -d '' http://192.168.1.114:8060/launch/dev?contentID=13234


That works fine and dandy if you want to pass just contentID. If you try this:
curl -d '' http://192.168.1.114:8060/launch/dev?contentID=13234&mediaType=series

then it still only passes contentID into main.

I also tried passing the arguments in as POST data, but that doesn't fly:
curl -d 'contentID=13234&mediaType=series' http://192.168.1.114:8060/launch/dev


Am I doing something wrong here?

2 Replies

  • I'm guessing you neglected to quote the URL, which is necessary since most shells interpret the ampersand.

    --Mark