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: 
Komag
Roku Guru

Re: Roku channel stream has one two many clicks

"belltown" wrote:
Now, in their infinite lack of wisdom, they've decided to split all their documents into multiple mini-documents, which in some cases aren't immediately obvious which 'Child Page' you need to be searching in (the BrightScript Reference and the Developer Guide are the worst in that regard). I miss the good old days when each document was a separate PDF file that I could download onto my PC and search through at will.


Agreed! 😞
0 Kudos
matrixebiz
Roku Guru

Re: Roku channel stream has one two many clicks

Hello again Belltown, the channel looks good on my end but the Roku team needs the following stuff fixed in the channel before they can publish it;

Before we can publish your channel, please address the following:
1. Overhang banners and logos are missing. Please go over the following guidelines when creating these images:
· Safe zone guidelines: http://sdkdocs.roku.com/display/sdkdoc/Design+Guidelines#DesignGuidelines-1.3.2Safezones
· Overhang specs: http://sdkdocs.roku.com/display/sdkdoc/Design+Guidelines#DesignGuidelines-3.0RokuUIComponents

2. Manifest splash screens are missing.
Add or modify the following entries to the manifest file:
splash_screen_fhd=pkg:/images/Splash_FHD.jpg
splash_screen_hd=pkg:/images/Splash_HD.jpg
splash_screen_sd=pkg:/images/Splash_SD43.jpg

Add the splash image files with the following dimensions:
Images/Splash_FHD.jpg 1920x1080
images/Splash_HD.jpg 1280x720
images/Splash_SD43.jpg 720x480

Let us know when these issues have been addressed and we can take another look.


I don't see these images in the package Images folder so I'll add them but where do they get called in the code? because I assume the Roku team will want to make sure they show up in my channel for when they do further testing and I just want to make sure they are called upon in the code/script. Thx
0 Kudos
belltown
Roku Guru

Re: Roku channel stream has one two many clicks

"matrixebiz" wrote:
Hello again Belltown, the channel looks good on my end but the Roku team needs the following stuff fixed in the channel before they can publish it;

Before we can publish your channel, please address the following:
1. Overhang banners and logos are missing. Please go over the following guidelines when creating these images:
· Safe zone guidelines: http://sdkdocs.roku.com/display/sdkdoc/Design+Guidelines#DesignGuidelines-1.3.2Safezones
· Overhang specs: http://sdkdocs.roku.com/display/sdkdoc/Design+Guidelines#DesignGuidelines-3.0RokuUIComponents

2. Manifest splash screens are missing.
Add or modify the following entries to the manifest file:
splash_screen_fhd=pkg:/images/Splash_FHD.jpg
splash_screen_hd=pkg:/images/Splash_HD.jpg
splash_screen_sd=pkg:/images/Splash_SD43.jpg

Add the splash image files with the following dimensions:
Images/Splash_FHD.jpg 1920x1080
images/Splash_HD.jpg 1280x720
images/Splash_SD43.jpg 720x480

Let us know when these issues have been addressed and we can take another look.


I don't see these images in the package Images folder so I'll add them but where do they get called in the code? because I assume the Roku team will want to make sure they show up in my channel for when they do further testing and I just want to make sure they are called upon in the code/script. Thx


I didn't include a logo or official splash screen images in my example code because they're very much dependent on the individual channel. See my earlier comments in this post: http://forums.roku.com/viewtopic.php?f=34&t=92101#p517022. However, the places where you need to put them are already set up in the code.

1. Overhang banners and logos: See the file source/UITheme.brs.

The logos are defined in the following code:


' No logos in this implementation ...
REM OverhangPrimaryLogoSD: "pkg:/images/OverhangPrimaryLogoSD.png"
REM OverhangPrimaryLogoOffsetSD_X: "55"
REM OverhangPrimaryLogoOffsetSD_Y: "34"
REM OverhangPrimaryLogoHD: "pkg:/images/OverhangPrimaryLogoHD.png"
REM OverhangPrimaryLogoOffsetHD_X: "123"
REM OverhangPrimaryLogoOffsetHD_Y: "0"

remove the comments ("REM ") from the above lines, put the logo files in the images/ folder, making sure all the image dimensions are correct. The offsets will also vary depending on the size and positioning of the logo images.

The overhang banner is defined by:

    OverhangSliceSD:                    "pkg:/images/OverhangSliceSD-1x83.png"          ' solid, single color value of #414a4c
OverhangSliceHD: "pkg:/images/OverhangSliceHD-1x124.png" ' solid, single color value of #414a4c

Whatever you put in the overhang slice image files is replicated across the entire width of the overhang banner area at the top of the screen. They only need to be one pixel wide, as in my case, if you're using a single, solid color throughout, or you can create an image that spans the entire width of the screen if you like. The idea is that these overhang slices or images form the background behind the logo that you specify with OverhangPrimaryLogoSD and OverhangPrimaryLogoHD. The dimensions and offsets of your logo, and the dimensions of your slice images should all be consistent. It might take a little futzing around with image sizes and offsets to get them to display them the way you want on the SD and HD TVs.

2. Splash image files: They go in the 'manifest' file at the top-level of the package directory. Add your own images of the correct dimensions (the dimensions listed in the e-mail you got from Roku), and reference them here instead of the generic file mm_icon_focus_hd-366x210.png:


#
splash_screen_fhd=pkg:/images/mm_icon_focus_hd-366x210.png
splash_screen_hd=pkg:/images/mm_icon_focus_hd-366x210.png
splash_screen_sd=pkg:/images/mm_icon_focus_hd-366x210.png
#
0 Kudos
matrixebiz
Roku Guru

Re: Roku channel stream has one two many clicks

Okay, will do, thank you for your help.
0 Kudos
matrixebiz
Roku Guru

Re: Roku channel stream has one two many clicks

Hi belltown, so now that I have my one stream/feed channel created, what do I need to change and add if I wanted to now add another selection/stream? Thx
0 Kudos
belltown
Roku Guru

Re: Roku channel stream has one too many clicks

You just need to change the Xml file:


<?xml version="1.0" encoding="UTF-8"?>

<categories>

<feed title="TSC" description="" sd_img="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc214x144Sd.png" hd_img="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc290x218Hd.png">
<item sdImg="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc214x144Sd.png" hdImg="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc290x218Hd.png">
<title>The Shopping Channel - Feed 1</title>
<description></description>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://tscstreaming-lh.akamaihd.net/i/TSCLiveStreaming_1@91031/index_3_av-p.m3u8</streamUrl>
</media>
<synopsis>TSC is a Canadian English language cable television home shopping channel. The Shopping Channel is a division of Rogers Media. The channel is headquartered in Mississauga, Ontario. It showcases various products which viewers can purchase either by telephone or internet. TSC also distributes a catalogue twice per year and owns an off air outlet store located in Toronto.</synopsis>
<genres>Shopping</genres>
<genres>Live</genres>
<live>True</live>
</item>
<item sdImg="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc214x144Sd.png" hdImg="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc290x218Hd.png">
<title>The Shopping Channel - Feed 2</title>
<description></description>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://tscstreaming-lh.akamaihd.net/i/TSCLiveStreaming_1@91031/index_3_av-p.m3u8</streamUrl>
</media>
<synopsis>TSC is a Canadian English language cable television home shopping channel. The Shopping Channel is a division of Rogers Media. The channel is headquartered in Mississauga, Ontario. It showcases various products which viewers can purchase either by telephone or internet. TSC also distributes a catalogue twice per year and owns an off air outlet store located in Toronto.</synopsis>
<genres>Shopping</genres>
<genres>Live</genres>
<live>True</live>
</item>
</feed>

</categories>
0 Kudos
matrixebiz
Roku Guru

Re: Roku channel stream has one two many clicks

Do I not have to change "<feed title=" to something like;

<feed>

<title = TSC .......
</title>

<title = HBO .......
</title>

</feed>

or just change <feed title="ecewcec CHANGE" description="" sd_img="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc214x144Sd.png" hd_img="http://ia801504.us.archive.org/1/items/TscGraphics/Tsc290x218Hd.png">

with different images also in this part to something like Live Channels ...
0 Kudos
belltown
Roku Guru

Re: Roku channel stream has one too many clicks

It depends what you want. The code I gave you will display a poster for each <item>. When you click on the respective item, the details screen for that item will be displayed. The breadcrumb area at the top of each item's details screen will show the feed's title attribute. The purpose of the breadcrumb is to let the user know how they got to where they are, so it will be the parent screen's title, which is why it's a <feed> attribute, not an <item> attribute.

If you want two separate <feed>s, you can wrap each one in a <category> element, but then you'd have an extra, redundant screen layer, and you'd be back to your "one too many clicks" problem, or "one two many clicks" as I guess they say in Canada.

The images used in this scenario will be the <item> image attributes. The <feed>'s image attributes will only be used as defaults if the <item> image attributes are missing.

You know, you really won't break anything if you try things out (unless you forget to back up your code), and see what happens. Rather than ask what will happen if you run the code, how about you run the code and see for yourself. If you want to find out if you do or don't need a particular attribute set, then set it and see what happens. It's all part of the development process.
0 Kudos
matrixebiz
Roku Guru

Re: Roku channel stream has one too many clicks

"belltown" wrote:
"one too many clicks" problem, or "one two many clicks" as I guess they say in Canada.


lol, oh man, I didn't even notice that 🙂

Okay, I'll mess around with it. I have all the info I need now. Thx
0 Kudos
matrixebiz
Roku Guru

Re: Roku channel stream has one two many clicks

Hi Belltown, is it easy to have the channel look at a pastbin file/playlist instead of have the direct streams (m3u8) in the code so that if I need to change a stream link right away I don't have to package an update and wait for Roku to publish the update to the channel, I can just change the link in my pastbin file on the fly and be done with it?
0 Kudos