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

Re: Publishing woes

Yes. Screensavers require different keys.

When you select a system screensaver, the system chooses the first screensaver that matches that key. So if there are multiple screensavers signed with the same key the user can't select between them.

--Kevin
0 Kudos
TheEndless
Channel Surfer

Re: Publishing woes

"renojim" wrote:
And if you have a public screensaver and any of your apps have a private screensaver, you have to rekey. I don't know whether if you only use private screensavers if they need different keys. Kevin?

-JT

It's not an issue for private screensavers, since the local ShowScreenSaver function is called to launch those. At least it hasn't been an issue in my apps, and I always assign a different "roRegistrySection" name to each channel based on the name of that channel, so they won't step on each other. If you use a generic name like "Configuration" like the SDK apps, I can see where it could get a bit sticky...
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
dynamitemedia
Binge Watcher

Re: Publishing woes

so out of nowhere after it has been working now im getting these crazy issues

Current Function:
017: Function RegWrite(key, val, section=invalid)
018: if section = invalid then section = "Default"
019: sec = CreateObject("roRegistrySection", section)
020: sec.Write(key, val)
021: sec.Flush() 'commit it
022: End Function
/tmp/plugin/PEAAAAjZDDuq/pkg:/source/generalUtils.brs(20): runtime error 18: Typ
e Mismatch

020: sec.Write(key, val)


I have never touched this BRS pages settings

I have read the SDK and see no reference to this, its why the channel is not showing up, it was working when i went to work today i come home turn it on and even my original is doing this....

i would like to also know more about this rekeying...
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
RokuKevin
Visitor

Re: Publishing woes

Check that key and value are both strings. It doesn't look like it has anything to do with what package signing key you are using (unrelated to the variable name key in this code snippet).

--Kevin
0 Kudos
dynamitemedia
Binge Watcher

Re: Publishing woes

Thanks i am looking at it now, and i see it says the token is invalid....

again i never touched anything and now even the original isn't working....

could it be an issue of needing to "clean up" teh registry?

I did a Reg delet and i am wondering if that caused this...

how can we do a complete clean up of the registry?
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
renojim
Community Streaming Expert

Re: Publishing woes

Something like this should work to delete everything in your registry:

myreg = CreateObject("roRegistry")
reglist = myreg.GetSectionList()
for each sect in reglist
myreg.Delete(sect)
end for

I haven't tried it, so caveat emptor.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
dynamitemedia
Binge Watcher

Re: Publishing woes

It seems it was a website issue, was passing a empty xml field.... gonna have to do a check on those to make sure they send something...
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
TheEndless
Channel Surfer

Re: Publishing woes

"dynamitemedia" wrote:
It seems it was a website issue, was passing a empty xml field.... gonna have to do a check on those to make sure they send something...

That's great news! Glad it's something you can address without requiring a code update. Good luck!
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
dynamitemedia
Binge Watcher

Re: Publishing woes

well now its doing the same thing again!!!

do i maybe need to clean the registry?

what i mean is that i packaged it then uploaded it. when i go to the channel all it does is start flash and close...

i am completely lost on what it is... i loaded up the zip file i packaged and No issues... anyone have these problems before?
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
dynamitemedia
Binge Watcher

Re: Publishing woes

@ RenoJim

actually the code does nothing, i tried inside a function no good outside tosses out errors...

Thanks for trying.

I would like to know more about this reglist however
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos