lisakb140
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018
08:45 AM
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:
And I run this command:
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??
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??
2 REPLIES 2

Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018
08:54 AM
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?
lisakb140
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2018
09:51 AM
Re: Deep linking URL isn't working
Yes, it looks like I was using the wrong MediaType! Stupid mistake on my part!