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: 

Re: URIs for overhang artwork

Just saw this thread and wanted to comment - pardon if this has already been addressed.

You can 100% use any theme image using an HTTP location over the PKG. In fact, we never use the pkg, just in case we want to change something for quick testing. I think the only images that have to come from the package are images defined in the manifest. If you're not seeing an update quickly, and to ensure you're not caching, just through a param at the end of the image (http://yoururl.com/images/yourimage.pngv?1234). We use a timestamp to ensure a unique value each time. This is not always best practice since loading fresh each time isn't the right thing to do unless you expect these images to change frequently. We'll load a unique image then store it in cache, but for channels that are using dynamic images, we'll always need to pull a fresh one when the users comes in from the top. Also, if your using a CDN, the time to propagate varies so that combined with caching on the box could prevent you from seeing any differences. Hope you got it all figured out.
--
Float Left Interactive Team
www.floatleftinteractive.com
0 Kudos
jbrave
Channel Surfer

Re: URIs for overhang artwork

My images update only if I do something to refresh the screen. All my image url's are unique and they don't update unless I use my little dialog open/close trick. Screen.show has no effect. Can you post some code showing how you are doing it? The only thing that gets cached as far as I can tell is the last update - when I exit the app and reload, it still displays the last image when I reload the app.

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
TheEndless
Channel Surfer

Re: URIs for overhang artwork

Some sample code would be appreciated, because I still can't get HTTP urls to work with the theme unless they're loaded after the UI has already been drawn (i.e. the facade screen has drawn), which kind of defeats the purpose.
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)
0 Kudos

Re: URIs for overhang artwork

Hey guys - sorry for the delayed response - I was expecting an email if a reply was posted. Ima n00b 😞

This works for me - make sure you're setting the logo and NOT the slice and have the offsets set to 0.


sub init_theme_test()
app = CreateObject("roAppManager")
theme = CreateObject("roAssociativeArray")
theme.OverhangSliceHD = ""
theme.OverhangPrimaryLogoHD = "http://kb.worldsecuresystems.com/844/cpsid_84445/images/Image8a.png"
theme.OverhangPrimaryLogoOffsetHD_X = "0"
theme.OverhangPrimaryLogoOffsetHD_Y = "0"
app.SetTheme(theme)
end sub
--
Float Left Interactive Team
www.floatleftinteractive.com
0 Kudos
TheEndless
Channel Surfer

Re: URIs for overhang artwork

"floatleftinteractive" wrote:
and have the offsets set to 0.

Given jbrave's post earlier today asking about offsets, I bet that's one of the reason I couldn't get it to work and he was... not sure why it worked after loading the image elsewhere first, but still... Thanks for the update!

As for receiving an email, you need to specifically "Subscribe topic" via the less than obvious link in the purple bar at the bottom of the page..
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)
0 Kudos
TheEndless
Channel Surfer

Re: URIs for overhang artwork

I've actually got this working now. It turns out my issue was with the Offsets property names. I had left out the "Logo" (i.e., I had OverhangPrimaryOffsetHD_X instead of OverhangPrimaryLogoOffsetHD_X) so they either weren't displaying or were in the overscan. I can now confirm that it works fine with X and Y offsets greater than 0 as well.
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)
0 Kudos

Re: URIs for overhang artwork

Awesome - happy to hear you got it working.
--
Float Left Interactive Team
www.floatleftinteractive.com
0 Kudos