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: 
vaxace
Binge Watcher

URIs for overhang artwork

Does the overhang artwork (logos, slices, etc) have to live on pkg:?
I was hoping to pull it from my HTTP server during development to simplify updating and testing of new artwork.

Thanks.
0 Kudos
26 REPLIES 26
vaxace
Binge Watcher

Re: URIs for overhang artwork

Bump.
Maybe someone at Roku will answer this one.
It should be a definitive answer.
0 Kudos
dynamitemedia
Binge Watcher

Re: URIs for overhang artwork

I am almost 99.9% sure you can

why not just give it a try, keep in mind it will use a lot of bandwidth each time someone views it.

I noticed a huge spike in my traffic for just xml requests
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
kbenson
Visitor

Re: URIs for overhang artwork

"vaxace" wrote:

It should be a definitive answer.


I don't have a definitive answer, but I highly doubt it has to be in pkg. I haven't run into a single instance where you have to specify the location of a file and it had to be in pkg:. It may not work with a URL, but I would be very surprised if you couldn't download into tmp: and use from there. it should be trivial to test in a test channel.
-- GandK Labs
Check out Reversi! in the channel store!
0 Kudos
jbrave
Channel Surfer

Re: URIs for overhang artwork

One would expect this to work, but I just tried it, two different ways: 1 setting OverhangSliceHD with an http url when the app loads - no go, just a grey background, 2 setting the theme dynamically while the app is running to an http url. Nope. Doesn't seem to work.

Next I'll try forcing download of the object in question to the file system and then setting it, see if that works...
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
jbrave
Channel Surfer

Re: URIs for overhang artwork

Ok, what Does work so far: setting the Overhang Logo to a url. Next, can it be dynamically changed from moment to moment? Will see in a few minutes.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
jbrave
Channel Surfer

Re: URIs for overhang artwork

Ok, so far nothing seems to work past the initial configuration setting for the app theme. Can someone else try experimenting with this? According to the manual, you can change and alter the theme using

SetThemeAttribute(String attributeName, String attributeValue)

and

ClearThemeAttribute(String attributeName)

but so far, no go...
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
jbrave
Channel Surfer

Re: URIs for overhang artwork

Ok, I've had very limited success with this now. First I loaded a image canvas before I load anything else in my app, then my posterscreen. I set the app manager to replace the OverhangLogoHD with a url. Then I close the poster and reload it. Well it worked once and I'm not sure why, but now the poster just loses focus or something - still displays but I'm getting image canvas events and not posterscreen events and I can't get back to it.

Anyway, I'm going to sleep...hope some intelligent person will figure out how to do dynamic changes to the theme elements and post here...

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

Re: URIs for overhang artwork

Ok, I didn't go to sleep. Here's what I figured out:

You can for certain load and change the overhang logo from an internet URL. So far, it does not update until you move the focus from the current poster item to a category, or if you load another screen on top and then close the screen. You may need to call screen.show() to get the change to happen at all.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
jbrave
Channel Surfer

Re: URIs for overhang artwork

update:

Here's what is working for me now:

I have a function that assigns the updated url to the secondary poster art:


function Newtheme(url as string)
...
theme.OverhangSecondaryLogoHD=url
theme.OverhangSecondaryLogoSD=url
app.SetTheme(theme)
...
end function



then I have a dialog box function I call and return from:



sub displaybox()
m.history = CreateObject("roArray", 1, true)
lp=createobject("romessageport")
dialog=CreateObject("roOneLineDialog")
'dialog.ShowBusyAnimation()
dialog.SetTitle("busy")
dialog.setmessageport(lp)
dialog.show()
dialog.close()
end sub



The dialog goes so fast, it doesn't even appear on the screen. The graphics on the main poster screen update almost immediately.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.