calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2012
10:49 AM
Re: Poster screen images not loading from web
Oh, ok. Well there was only one loop running, but when I ran the app, nothing showed in the debugger. I had it set to print whatever message it received, if of type "roSystemLogEvent". Any idea why nothing would show?
I had it in my code that displays a poster screen. The same section that is not displaying the images. That is the correct spot, right? I assume it is because the poster screen should be the one making the http calls for the images.
I had it in my code that displays a poster screen. The same section that is not displaying the images. That is the correct spot, right? I assume it is because the poster screen should be the one making the http calls for the images.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2012
10:57 AM
Re: Poster screen images not loading from web
"calvaryftl" wrote:
Oh, ok. Well there was only one loop running, but when I ran the app, nothing showed in the debugger. I had it set to print whatever message it received, if of type "roSystemLogEvent". Any idea why nothing would show?
I had it in my code that displays a poster screen. The same section that is not displaying the images. That is the correct spot, right? I assume it is because the poster screen should be the one making the http calls for the images.
That sounds like the right place, yeah. Can you share the code?
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2012
11:23 AM
Re: Poster screen images not loading from web
Do you mind if I email it to you?
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2012
12:10 PM
Re: Poster screen images not loading from web
I have confirmed that this image loads:
http://media.calvaryftl.org/api/ROKU/im ... orship.png
while this one does not:
http://media.calvaryftl.org/api/ROKU/im ... hd/web.png
Here is a code snippet. It has the HD image hard coded at the moment. When I changed it to the image worship.png, it worked:
http://media.calvaryftl.org/api/ROKU/im ... orship.png
while this one does not:
http://media.calvaryftl.org/api/ROKU/im ... hd/web.png
Here is a code snippet. It has the HD image hard coded at the moment. When I changed it to the image worship.png, it worked:
if (request.AsyncGetToString())
while (true)
msg = wait(0, port)
if (type(msg) = "roUrlEvent")
code = msg.GetResponseCode()
if (code = 200)
array = CreateObject("roArray",10,true)
json = ParseJSON(msg.GetString())
for each item in json.Items
info = {
ShortDescriptionLine1: item.name
address: item.address
phone: item.phone
times: item.times
SDPosterUrl: item.SDPosterUrl
HDPosterUrl: "http://media.calvaryftl.org/api/ROKU/images/campusposters/poster/hd/web.png"
}
array.push(info)
end for
return array
endif
else if (event = invalid)
request.AsyncCancel()
endif
end while
endif
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012
10:49 AM
Re: Poster screen images not loading from web
Any thoughts? Anyone?


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012
10:52 AM
Re: Poster screen images not loading from web
All your problem URLs work fine for me. Maybe the problem isn't with the images themselves...
screen = CreateObject("roPosterScreen")
screen.SetListStyle("arced-landscape")
screen.SetContentList([
{ hdPosterURL: "http://media.calvaryftl.org/api/ROKU/images/campusposters/poster/hd/worship.png" }
{ hdPosterURL: "http://media.calvaryftl.org/api/ROKU/images/campusposters/poster/hd/web.png" }
{ hdPosterURL: "http://media.calvaryftl.org/api/ROKU/images/campusposters/poster/hd/sandalfoot.jpg" }
])
screen.Show()
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012
10:55 AM
Re: Poster screen images not loading from web
Thanks for checking Chris. I don't think it is either. It's very odd how a different png will work across the web, but not the ones we created. I'm about ready to give up and just put them in the package. I'd love to not do that though to keep the package size down...

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012
11:32 AM
Re: Poster screen images not loading from web
My results are the same as Chris's. Both of your example images work fine for me both on the poster screen and the grid screen (directly referencing the URLs you posted), so that would suggest you have a problem elsewhere in your code.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2012
12:09 PM
Re: Poster screen images not loading from web
Thanks again to both of you. Endless, I just emailed you my code. I hope you'll be able to check it out for me and figure out what I've missed. 🙂
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2012
02:04 PM
SOLVED!!! Re: Poster screen images not loading from web
CASE SENSITIVITY!
My server is on a Windows machine, so I didn't realize that case matters. The roAssociativeArray is apparently case sensitive, so I had to make sure my paths matched perfectly with regards to case. Once I did that it worked!
Thanks for the help guys!
I hope this thread will help someone else down the road....
My server is on a Windows machine, so I didn't realize that case matters. The roAssociativeArray is apparently case sensitive, so I had to make sure my paths matched perfectly with regards to case. Once I did that it worked!
Thanks for the help guys!
I hope this thread will help someone else down the road....