matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016
06:13 AM
Code to have Roku wait for redirection link
Hello, there is some information I currently have the Roku read off a website which does work if I have it read the final destination website directly but what I need to do is send the Roku to a different link/site first that redirects it back to the final destination site which of course works in a web browser but is there some Brightscript code I can use that will allow the Roku to wait until the final destination site is landed on then read the information off that page? if you need more information let me know. Thank you
15 REPLIES 15
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016
08:40 PM
Re: Code to have Roku wait for redirection link
roku is not a browser so i don't imagine it handles the browser redirect. you probably need to parse that first response to get the redirect url then access that with a separate function.
aspiring
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016
11:32 PM
Re: Code to have Roku wait for redirection link
Roku handles HTTP redirects automatically, if that's what he was referring to, although the way the original question is worded I have no idea what he's referring to.
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2016
06:20 AM
Re: Code to have Roku wait for redirection link
Hello, yes, that is what I am referring to (I thought I worded it correctly 🙂 ) but for some reason the redirect is not working correctly.
Can you please post me the code I need to be able to parse it properly? Thank you
Can you please post me the code I need to be able to parse it properly? Thank you
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2016
10:02 AM
Re: Code to have Roku wait for redirection link
The first page lands on a PHP script that redirects to the final destination

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2016
10:50 AM
Re: Code to have Roku wait for redirection link
What is the php script returning to cause a redirection? If it's using a normal 3xx HTTP status, this should be handled automatically by the Roku firmware.
--Mark
--Mark
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2016
07:33 AM
Re: Code to have Roku wait for redirection link
Sent you a PM to try and explain as I'm not sure what you mean. Thx

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2016
08:59 AM
Re: Code to have Roku wait for redirection link
Please post your replies here so that others can benefit from and participate in the conversation.
--Mark
--Mark
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2016
11:32 AM
Re: Code to have Roku wait for redirection link
Ah, where is an "upvote" button when i wish for one 🙂
(one of the few things i miss from S.O. & co)
(one of the few things i miss from S.O. & co)
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2016
12:05 PM
Re: Code to have Roku wait for redirection link
Some of the code is proprietary/private to the original developer so don't think I can post it in a public forum. I don't see a thread for Coders for Hire, is there one? I don't mind giving a few hundred dollars a month if I can get the help I need. I didn't get any response from the Coders for Hire thread I posted last month 😞