Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
lisakb140
Level 7

Deep linking URL isn't working

My channel does have a deep linking/search feed that has been approved (a couple years ago), but I'm having trouble figuring out the right URL to bring up a specific program or episode. 

An example url I'm using would be:



http://[my device IP]:8060/launch/[my published channel ID]?mediaType=series&contentID=[name-of-series]


And I run this command:

curl -d '' 'http://[my device IP]:8060/launch/[my published channel ID]?mediaType=series&contentID=[name-of-series]'


On my device, my channel DOES launch, but it does not launch that specific series-- it just brings up my channel's home screen. I have also tried this with a specific episode, replacing mediaType with 'episode', and contentID with the ID of that episode, but have the same result. 

What am I doing wrong??
0 Kudos
2 Replies
Roku Employee
Roku Employee

Re: Deep linking URL isn't working

From the docs at https://sdkdocs.roku.com/display/sdkdoc/Deep+Linking, is your channel looking for args[contentID] and args[mediaType] and using it to change it's behavior?  Can you add logging code to show those in the Brightscript console to make sure they're what you expect?
0 Kudos
lisakb140
Level 7

Re: Deep linking URL isn't working

Yes, it looks like I was using the wrong MediaType! Stupid mistake on my part!
0 Kudos