Your Digital Media Has Never Looked So Good

Search found 51 matches

by philotas
Thu Jul 18, 2019 8:13 am
Forum: Roku Developer Program
Topic: Change focusedIconUri color
Replies: 2
Views: 795

Re: Change focusedIconUri color

Hello!

Did you ever figure out how to do this?
by philotas
Fri Jan 12, 2018 4:09 am
Forum: Roku Developer Program
Topic: How to load localization files from URL?
Replies: 1
Views: 350

Re: How to load localization files from URL?

A colleague mentioned, that it might mean, that you do localization without using:
tr(..)


altogether. is that the case?
by philotas
Wed Jan 10, 2018 7:55 am
Forum: Roku Developer Program
Topic: How to load localization files from URL?
Replies: 1
Views: 350

How to load localization files from URL?

Does anyone know how to load localization files from a server via a URL?


Docs say this:

You can also localize your  application from your server using URL directives based on the current locale as set by the user.

But I do not understand what that means or how it is supposed to work.
by philotas
Thu Feb 23, 2017 10:00 am
Forum: Roku Developer Program
Topic: Misaligned KeyboardDialog
Replies: 4
Views: 637

Re: Misaligned KeyboardDialog

on firmware 7.5 I don't see this issue anymore
by philotas
Wed Jan 18, 2017 3:34 pm
Forum: Roku Developer Program
Topic: Remove print statements for production?
Replies: 1
Views: 421

Remove print statements for production?

How do you handle the print statement when publishing a channel?
Do you remove them all or leave them in the code?

I was wondering if it could improve the performance on slower device, if it does not have to handle too many print statements.

What do you do?
by philotas
Thu Jan 12, 2017 5:11 pm
Forum: Roku Developer Program
Topic: Reuse Video Node?
Replies: 6
Views: 715

Re: Reuse Video Node?

ok, will keep on using my single video node then.
EDIT: thanks for the quick feedback
by philotas
Thu Jan 12, 2017 8:42 am
Forum: Roku Developer Program
Topic: Reuse Video Node?
Replies: 6
Views: 715

Reuse Video Node?

Is it ok tu reuse one Video node in SceneGraph for all videos being played back in a channel or should it be recreated for every video?
I am talking about mixed content here progressive mp4 and HLS videos.

Maybe this is cleaner cause it cleans some caches or whatever.
by philotas
Tue Dec 13, 2016 10:57 am
Forum: Roku Developer Program
Topic: How to modify System Fonts in SceneGraph?
Replies: 14
Views: 1198

Re: How to modify System Fonts in SceneGraph?

Yes it is!
This could be at least documented...
by philotas
Tue Dec 13, 2016 5:27 am
Forum: Roku Developer Program
Topic: How to modify System Fonts in SceneGraph?
Replies: 14
Views: 1198

Re: How to modify System Fonts in SceneGraph?

@belltown thanks for showing me how to set the size for a system Font. I am a little embarrassed that I did not try that myself... :oops: this code seemed a little weird, but obvioulsy setting the font of a Label to a string converts it to a Font Node m.top.font = "font:LargeBoldSystemFont&quo...
by philotas
Mon Dec 12, 2016 4:30 pm
Forum: Roku Developer Program
Topic: ifString.GetEntityDecode() ?
Replies: 17
Views: 5023

Re: ifString.GetEntityDecode() ?

EnTerr wrote:
philotas wrote:
I receive (simple) HTML formatted text from a server via JSON and want to display it in  Label.
I strip out some tags, but there could be some HTML Entities which I want to convert.

Do you have the leeway to change that, as in simply not sending HTML?

Unfortunately not for the time being.
by philotas
Mon Dec 12, 2016 4:28 pm
Forum: Roku Developer Program
Topic: How to modify System Fonts in SceneGraph?
Replies: 14
Views: 1198

Re: How to modify System Fonts in SceneGraph?

belltown wrote:
You can change the font size of any of the system fonts to any value you want,

How do I do that in SceneGraph for a Label Node?
I can set the Size of a Font Node, but afaik I cannot create a Font Node with a system font?
by philotas
Mon Dec 12, 2016 4:26 pm
Forum: Roku Developer Program
Topic: How to modify System Fonts in SceneGraph?
Replies: 14
Views: 1198

Re: How to modify System Fonts in SceneGraph?

EnTerr wrote:
("font:SmallestSystemFont", SmallestBoldSystemFont, ..., LargeBoldSystemFont) don't satisfy you?

no, because I need italic (although it is not a nice way for formatting on a TV I admit)
by philotas
Mon Dec 12, 2016 9:16 am
Forum: Roku Developer Program
Topic: How to modify System Fonts in SceneGraph?
Replies: 14
Views: 1198

How to modify System Fonts in SceneGraph?

Is it possible to make different version of the Build in SceneGraph Fonts, for example making a smaller, bigger or italic version of one font? In BrightScript i could do something like this to get 10pt italic font, but in SceneGraph?     reg = CreateObject("roFontRegistry")     font = reg....
by philotas
Mon Dec 12, 2016 1:56 am
Forum: Roku Developer Program
Topic: ifString.GetEntityDecode() ?
Replies: 17
Views: 5023

Re: ifString.GetEntityDecode() ?

I receive (simple) HTML formatted text from a server via JSON and want to display it in  Label.
I strip out some tags, but there could be some HTML Entities which I want to convert.
by philotas
Sun Dec 11, 2016 1:49 pm
Forum: Roku Developer Program
Topic: ifString.GetEntityDecode() ?
Replies: 17
Views: 5023

Re: ifString.GetEntityDecode() ?

The strings already have getEntityEncode() method. The opposite is a one-liner:  PRINT (myStringExpression).replace("&quot;", """").replace("&apos;", "'").replace("&lt;", "<").replace("&gt;", ">').r...