Your Digital Media Has Never Looked So Good

Search found 89 matches

by adrianc1982
Thu Nov 09, 2017 11:51 am
Forum: Roku Developer Program
Topic: LabelList icons not rendered in correct location
Replies: 3
Views: 285

Re: LabelList icons not rendered in correct location

im having the same issue it seems like labellist is broken on roku os 8
by adrianc1982
Mon Jun 26, 2017 9:45 pm
Forum: Roku Developer Program
Topic: how to get stream video resolution?
Replies: 4
Views: 3235

Re: how to get stream video resolution?

i would also love to have this function to get the resolution that way i can make a proper zoom on 4:3 content if the user decides to... (stretch)
by adrianc1982
Sun Feb 26, 2017 10:52 pm
Forum: Roku Developer Program
Topic: Labellist count()?
Replies: 5
Views: 2877

Re: Labellist count()?

I havent figured it out, i will give it a try tonight and post my results. I also checked the sdk page for labelist and no, getchildcount() is not there, so maybe it should be added. thank you a lot for your kind response. getChildCount() comes from https://sdkdocs.roku.com/display/sdkdoc/ifSGNodeC...
by adrianc1982
Sun Feb 26, 2017 3:42 pm
Forum: Roku Developer Program
Topic: Labellist count()?
Replies: 5
Views: 2877

Re: Labellist count()?

https://sdkdocs.roku.com/display/sdkdoc/LabelList Maybe you figured this out already? use  getChildCount () on the list. So in the example from the LabelList page, you should be able to do something like mylist = m.top.findnode("moviemenucontent") count = mylist.getChildCount() I havent f...
by adrianc1982
Mon Feb 20, 2017 9:10 am
Forum: Roku Developer Program
Topic: Labellist count()?
Replies: 5
Views: 2877

Labellist count()?

Im doing some coding around  jumpToItem in Labellist and want to go to the last element in the list. Example: lastItem = myList.count() - 1 myList.jumpToItem = lastItem Usually i did a count on roList and subtracted one position and that was my last element. Is there something similar in LabelList? ...
by adrianc1982
Sat Feb 04, 2017 1:23 pm
Forum: Roku Developer Program
Topic: SDK1 deprecation announcement
Replies: 12
Views: 3607

Re: SDK1 deprecation announcement

So if i read correctly if i have a private channel i have until 2019.

I can keep publishing new channels with old sdk and updating them right? privately i mean
by adrianc1982
Sat Feb 04, 2017 12:13 pm
Forum: Roku Developer Program
Topic: SDK1 deprecation announcement
Replies: 12
Views: 3607

Re: SDK1 deprecation announcement

Which type is easier to convert the  NewVideoPlayer channel too? Id go with RSG its the newest and has a lot of customization. Just start building some samples and tweaking and studying its a lot harder than brightscript but not too hard, if you are fluid in brightscript you will figure it out in a...
by adrianc1982
Wed Oct 26, 2016 7:03 pm
Forum: Roku Developer Program
Topic: How long is your code?
Replies: 28
Views: 3573

Re: How long is your code?

you should avoids comments as much as posible.... coments are evil... But why? They help me think and remember how it all works together. Do they somehow hurt performance in the background? please buy this book Clean Code: A Handbook of Agile Software Craftsmanship   Robert C. Martin It has a lot o...
by adrianc1982
Wed Oct 26, 2016 6:54 pm
Forum: Roku Developer Program
Topic: How long is your code?
Replies: 28
Views: 3573

Re: How long is your code?

functions should have descriptive names long ones if posible and you should write 3 lines per function or less when posible . Goodness gracious, NO! Whoever came with such idiotic idea must been someone from the Marketing Department of the Sirius Cybernetics Corporation ("A bunch of mindless j...
by adrianc1982
Wed Oct 26, 2016 1:38 pm
Forum: Roku Developer Program
Topic: How long is your code?
Replies: 28
Views: 3573

Re: How long is your code?

you should avoids comments as much as posible. rename your variables in a more descriptive way even if you have to use long variable names. coments are evil, your code should read like a big coment if you are doing it properly. functions should have descriptive names long ones if posible and you sho...
by adrianc1982
Wed Oct 26, 2016 2:36 am
Forum: Roku Developer Program
Topic: Scene Graph roString to Integer help
Replies: 2
Views: 660

Re: Scene Graph roString to Integer help

okay i found my error, my integer is 10 digits long so I needed to cast longinteger. Got my answer here:

https://forums.roku.com/viewtopic.php?f ... er#p535826
by adrianc1982
Tue Oct 25, 2016 11:47 pm
Forum: Roku Developer Program
Topic: Scene Graph roString to Integer help
Replies: 2
Views: 660

Re: Scene Graph roString to Integer help

Sorry guys i figured it out. I converted the roString toFloat() and from there i could convert to string. I dont know if its a bug but it works.. Thanks..
by adrianc1982
Tue Oct 25, 2016 11:27 pm
Forum: Roku Developer Program
Topic: Scene Graph roString to Integer help
Replies: 2
Views: 660

Scene Graph roString to Integer help

Im trying to convert a roString in Scene Graph to Integer i've tried int(myRoString) and myRoString.ToInt() but both of them i get type mismatch. here the error Type Mismatch. (runtime error &h18) in pkg:/components/epgGrid.brs(48) 048:                 duration = int(m.jsonReaderResultLiveTv[id]...
by adrianc1982
Fri Oct 21, 2016 11:25 am
Forum: Roku Developer Program
Topic: tv schedule layout
Replies: 7
Views: 952

Re: tv schedule layout

you could use epggrid inside RSG which does a lot of what TC needs BUT you will have to hack your way through finding how to use it properly since theres no documentation other and a very simple example on the forums. But if you are an okay roku developer you should figure it out in a couple of day...
by adrianc1982
Fri Oct 21, 2016 1:30 am
Forum: Roku Developer Program
Topic: Loop through a content node
Replies: 25
Views: 8127

Re: Loop through a content node

Just read this answer before posting in your thread, im new to RSG so i havent had the chance to or flight hours to discover this. I really have always thought of roku development as hacky because of all the cheating you have to do. Thank you so much for the heads up even though this is not what we...