Your Digital Media Has Never Looked So Good

Search found 2695 matches

by destruk
Mon Jun 17, 2019 11:29 pm
Forum: Roku Developer Program
Topic: Problem trying display labels
Replies: 2
Views: 133

Re: Problem trying display labels

I'd say to just use a single label for each item.  That way you can set the font and specifications and placement individually.  But that is a lot of labels to deal with.  If it is static information then you might consider making a jpg or png, and using a poster to display it.
by destruk
Thu Jun 06, 2019 9:06 am
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 325

Re: How to skip an iteration in a FOR loop?

Just for kicks I tried, and yes, End For can't be within the If statement either, so it's consistent. Other languages (like PHP) allow this - next will exit any subsequent nested if statements and increment the internal loop counter and re-execute the inner-most loop, just not brightscript.
by destruk
Thu Jun 06, 2019 9:04 am
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 325

Re: How to skip an iteration in a FOR loop?

NEXT does not work for me  inside that if statement. Syntax error. Weird, ok, you are right.  It can't be within the IF statement. But this works fine if you rewrite the loop slightly.  And if you're wanting the index value of the array for the printed results, you should increment the value after ...
by destruk
Wed Jun 05, 2019 8:31 am
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 325

Re: How to skip an iteration in a FOR loop?

destruk, that gives me: Syntax Error. (compile error &h02) in pkg:/source/mn.brs(1846) which is the line with Next That is odd.  Perhaps they can not be mixed, but all of my loops I write for my own apps use Next instead of End For. So I'll need to test and see if replacing End For here with Ne...
by destruk
Tue Jun 04, 2019 8:00 am
Forum: Roku Developer Program
Topic: JSON key with special Character($)
Replies: 4
Views: 127

Re: JSON key with special Character($)

 cool
by destruk
Mon Jun 03, 2019 8:35 am
Forum: Roku Developer Program
Topic: JSON key with special Character($)
Replies: 4
Views: 127

Re: JSON key with special Character($)

Or you can probably try
gridposter.category = video.category["$nCat"]
by destruk
Mon Jun 03, 2019 8:33 am
Forum: Roku Developer Program
Topic: JSON key with special Character($)
Replies: 4
Views: 127

Re: JSON key with special Character($)

Prior to parsing, do a string replace for the $. temp=strreplace(readInternet,"$","z_") Function strReplace(basestr As String,oldsub As String,newsub As String) As String newstr="" i=1 While i<=Len(basestr) x=Instr(i,basestr,oldsub) If x=0 newstr=newstr+MID(basestr,i) E...
by destruk
Mon Jun 03, 2019 8:26 am
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 325

Re: How to skip an iteration in a FOR loop?

FUNCTION testNext()    testA = ["apple", 2, "carrot", "dapple", 5, "fapple", "gourd"]    testInt = 0    FOR EACH fruit IN testA       testInt++       IF TYPE(fruit) = "roString" THEN ? fruit ELSE Next END IF       ? "testNext() did on...
by destruk
Fri May 31, 2019 8:34 am
Forum: Roku Developer Program
Topic: Trickplay and BIF Files
Replies: 26
Views: 1293

Re: Trickplay and BIF Files

You might look at Emby --  https://emby.media/linux-server.html  -- they have a plugin for creating roku bif files here:  https://github.com/MediaBrowser/roku-bif The current recommended BIF image size for FHD should be  480x270 -- the wiki specifies sizing for SD/HD variations but the FHD is missin...
by destruk
Fri May 31, 2019 8:29 am
Forum: Roku Direct Publisher
Topic: Feed Issue, no videos showing up (Newbie)
Replies: 33
Views: 1145

Re: Feed Issue, no videos showing up (Newbie)

Well, looks like another two weeks has come and gone with no ability to test unpublished channels. Also, Roku is tinkering with adding things to your published channels you may not appreciate. Such as a huge search icon that allows your viewers to search within your channel, even if you have only o...
by destruk
Fri May 31, 2019 8:23 am
Forum: Roku Direct Publisher
Topic: HLS Stream Help
Replies: 2
Views: 145

Re: HLS Stream Help

I agree you'd want to run the recording at the source ingest point for your live stream.  This gives you a cleaner recording, fewer network interruptions and/or possible congestion.  Depending on your streaming software at the origin you can set it to automatically record on a set schedule and autom...
by destruk
Tue May 28, 2019 10:54 am
Forum: Roku Developer Program
Topic: How is Aquatic Life implemented?
Replies: 7
Views: 521

Re: How is Aquatic Life implemented?

Roku is Android?  That is news to me.
by destruk
Tue May 28, 2019 10:53 am
Forum: Roku Developer Program
Topic: Is there any way to collect the crash logs through code in the Roku channel
Replies: 1
Views: 149

Re: Is there any way to collect the crash logs through code in the Roku channel

Nope.  As soon as there is a crash your channel immediately stops running.  Roku has access to the logs but nobody else does.
by destruk
Fri May 24, 2019 3:39 pm
Forum: Roku Direct Publisher
Topic: JSON file length maximum
Replies: 6
Views: 235

Re: JSON file length maximum

The limitations were posted by RokuTomC, but they might have changed since it was posted here -
https://forums.roku.com/viewtopic.php?t=100198#p555124
by destruk
Wed May 22, 2019 9:34 am
Forum: Roku Developer Program
Topic: Does ROKU Offer Mobile Apps For Their Developers?
Replies: 4
Views: 282

Re: Does ROKU Offer Mobile Apps For Their Developers?

There is this mobile app -
https://www.roku.com/mobile-app

I am happy I don't have to pay a monthly subscription fee for each of my Roku devices.