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: 
coin84
Visitor

How Do I Change Artwork

I have been trying to change the default images, using the videoplayer template, but I can't seem to change them. The overhang logo and the background still stays as the default TED logo and background.

I am new to ROKU, so I don't know if I changed the right things. I modified the appMain to:

'
********************************************************************
'** Video Player Example Application - Main
'** November 2009
'** Copyright (c) 2009 Roku Inc. All Rights Reserved.
'********************************************************************

Sub Main()

'initialize theme attributes like titles, logos and overhang color
initTheme()

'prepare the screen for display and get ready to begin
screen=preShowHomeScreen("", "")
if screen=invalid then
print "unexpected error in preShowHomeScreen"
return
end if

'set to go, time to get started
showHomeScreen(screen)

End Sub


'*************************************************************
'** Set the configurable theme attributes for the application
'**
'** Configure the custom overhang and Logo attributes
'** Theme attributes affect the branding of the application
'** and are artwork, colors and offsets specific to the app
'*************************************************************

Sub initTheme()

app = CreateObject("roAppManager")
theme = CreateObject("roAssociativeArray")

theme.OverhangOffsetSD_X = "72"
theme.OverhangOffsetSD_Y = "31"
theme.OverhangSliceSD = "pkg:/images/roku-background-sd.jpg"
theme.OverhangLogoSD = "pkg:/images/roku-channel-sd.png"

theme.OverhangOffsetHD_X = "125"
theme.OverhangOffsetHD_Y = "35"
theme.OverhangSliceHD = "pkg:/images/roku-background-hd.jpg"
theme.OverhangLogoHD = "pkg:/images/roku-channel-hd.png"

app.SetTheme(theme)

End Sub


Is there something I am missing out or doing wrong?

Thanks!
0 Kudos
3 REPLIES 3
destruk
Streaming Star

Re: How Do I Change Artwork

It';s probably using cached images in the roku device. Try pulling and replugging the power cord to clear cached graphics.
0 Kudos
bandal
Visitor

Re: How Do I Change Artwork

Make sure to check your manifest file too. Check the spelling for the images in your images directory to match what's in the manifest file and appMain.brs. Plus, double check the file extensions for .png or .jpg 😄
DA
0 Kudos
Ehtartaw
Newbie

Re: How Do I Change Artwork

How do you delete the artwork

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.