Forum Discussion

Uncle_Howie's avatar
Uncle_Howie
Channel Surfer
4 years ago

How to bypass checking for subscription to test deep link

I am setting up my Roku sdk channel, using the DeepLinking sample from the roku-scenegraph-channels pack, which was started out as the subscription sample channel. Every thing looks good except when I play a video, it would go to the detail screen as normal, but when I hit the remote again, I get a pop-up label that says: "there are no available subscription for now", and stops there. I looked at the SubscriptionLogic.brs and DetailScene.brs and there's a command that says to "Check SubscriptionAndPlayVideo". I figure that has something to do with it by i just don't know how to change it or what to do to bypass that checksubscription thing, and just play the video. I know you can tell I am no pro. lol My videos are played from a JSON feed. Anyone of you great pros, who could help me out, I would appreciate it and thanks for your time.

3 Replies

  • I made a little progress. I went in the DetailsScreenLogic.brs file and change from "Check SubscriptionAndPlayVideo" to "ShowVideoScreen", and the videos are playing now when I press the button. Then I went test if deep linking work, the error came back. I went into the DeepLinkingLogic.brs and did the same thing under the Handlers with the: "Check SubscriptionAndPlayVideo" and this time the play button on the remote don't work. Maybe I should put something inside the: () besides content.... Node, index, true, etc.

    • Uncle_Howie's avatar
      Uncle_Howie
      Channel Surfer

      Thank you sir. I did and trying to figure it out. I just don't want to do the: CheckSubscriptionAndStart Playback(content). I am just trying to change that code so it doesn't check for any subscription and start playing right away. I try changing it to ShowVideoScreen but it didn't work.