roku

Find Date Difference in BrightScript

£可爱£侵袭症+ 提交于 2021-02-07 20:37:25
问题 I have an issue with datetime. I have two strings. e.g 24-9-15 and 2-10-15 . Both are two strings. I want to find out the difference (in days) between them. Can you please help me out? 回答1: 1) Parse the 2 strings to roDateTime objects. Reference - http://sdkdocs.roku.com/display/sdkdoc/roDateTime 2) get the time in seconds for both dates by doing date1.AsSeconds() and date2.AsSeconds() 3) Subtract the 2 times, so you have the time difference in seconds. 4) Divide this seconds by 3600 to

How do I get detailed logs from the Roku?

落爺英雄遲暮 提交于 2020-07-24 03:17:24
问题 I currently testing an HLS stream on the simple video player template provided by the roku developer site. If i'm testing a channel on the roku and my HLS stream is failing, how view and get detailed logs on why its failing? 回答1: The easiest way I've found to troubleshoot any Roku application is to sideload your content via telnet and print statements out to your console. You can get detailed information from the Roku developer docs about how to enable developer mode on the box, then you can

How do I get detailed logs from the Roku?

旧时模样 提交于 2020-07-24 03:17:12
问题 I currently testing an HLS stream on the simple video player template provided by the roku developer site. If i'm testing a channel on the roku and my HLS stream is failing, how view and get detailed logs on why its failing? 回答1: The easiest way I've found to troubleshoot any Roku application is to sideload your content via telnet and print statements out to your console. You can get detailed information from the Roku developer docs about how to enable developer mode on the box, then you can

How do I get detailed logs from the Roku?

旧城冷巷雨未停 提交于 2020-07-24 03:15:05
问题 I currently testing an HLS stream on the simple video player template provided by the roku developer site. If i'm testing a channel on the roku and my HLS stream is failing, how view and get detailed logs on why its failing? 回答1: The easiest way I've found to troubleshoot any Roku application is to sideload your content via telnet and print statements out to your console. You can get detailed information from the Roku developer docs about how to enable developer mode on the box, then you can

With HTTPS URL image not load with Poster Grid

放肆的年华 提交于 2020-07-09 12:13:24
问题 I created one RSG Component and stored content using content-meta-data like below. Inside a content-meta-data field is hdgridposterurl here, I put Both URL HTTP and HTTPS and Checked Roku side, It's working or not. Http is Working. But, Https is not Working. I also checked both URLs on a different platform. Both URLs Working well for other platforms like Android, IOS, Google Chrome, Amazon Fire Stick. I also add SetCertificatesFile("common:/root/www_mysite_com.csr"). It's not working. This is

With HTTPS URL image not load with Poster Grid

拜拜、爱过 提交于 2020-07-09 12:13:07
问题 I created one RSG Component and stored content using content-meta-data like below. Inside a content-meta-data field is hdgridposterurl here, I put Both URL HTTP and HTTPS and Checked Roku side, It's working or not. Http is Working. But, Https is not Working. I also checked both URLs on a different platform. Both URLs Working well for other platforms like Android, IOS, Google Chrome, Amazon Fire Stick. I also add SetCertificatesFile("common:/root/www_mysite_com.csr"). It's not working. This is

Adding internal Search function to Screnegraph Brightscript Channell

扶醉桌前 提交于 2020-04-30 11:22:49
问题 I need to add search functionality to my Brightscript scenegraph script for a Roku Channel. Does anyone have a simple Search sample, or a script I can use to add to a "sliding panel" Roku channel script? RoSearch has been depreciated. The current page is very similar to the Sliding Panel example. Need working Search feature on my Roku Channel. <component name = "minikeyboardexample" extends = "Group" initialFocus = "exampleMiniKeyboard" > <script type="text/brightscript" > <![CDATA[ sub init(

Adding internal Search function to Screnegraph Brightscript Channell

孤人 提交于 2020-04-30 11:21:07
问题 I need to add search functionality to my Brightscript scenegraph script for a Roku Channel. Does anyone have a simple Search sample, or a script I can use to add to a "sliding panel" Roku channel script? RoSearch has been depreciated. The current page is very similar to the Sliding Panel example. Need working Search feature on my Roku Channel. <component name = "minikeyboardexample" extends = "Group" initialFocus = "exampleMiniKeyboard" > <script type="text/brightscript" > <![CDATA[ sub init(

Play MultipleAudioTrack in Roku

陌路散爱 提交于 2020-03-04 04:47:27
问题 I tried to Play MultipleAudioTrack in Roku. I refer to this Example to play an audio track. I same code use in my stream Here ?"m.video.availableAudioTracks :"m.video.availableAudioTracks but here not available any track. my stream check in VLC MediaPlayer. Here two-track available But I not found in Roku. My Audio Format is AAC. I also Set Here m.video.audioFormat = "aac" . Any other Configuration required to Playing a multiple Audio. 回答1: I'm not certain about Audio files, but I know that

Live Stream in Roku

十年热恋 提交于 2020-01-25 06:40:32
问题 I used the live stream in Roku. and used both stream dash and hls. Here someone stop live stream chunk from server-side and in Roku Side pause video and someone again starts again genrated a chunk It's not handled automatically. Here I know two field use for display a chunk streamingSegment and downloadedSegment. But I dont know how to check everytime in videoplayer found chunk or not. Is there any way to if chunk not found then paused videoplayer and again found then play. any solution for