Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lisakb140
Visitor

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 2
RokuBen
Community Moderator
Community Moderator

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
Visitor

Re: Deep linking URL isn't working

Yes, it looks like I was using the wrong MediaType! Stupid mistake on my part!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.