Your Digital Media Has Never Looked So Good

Search found 11 matches

by wshirley
Wed Sep 18, 2019 9:56 am
Forum: Roku Developer Program
Topic: HTTP PUT to AWS S3 - Payload Issue
Replies: 3
Views: 505

Re: HTTP PUT to AWS S3 - Payload Issue

Thank you.  That did the trick.  Problem solved.
by wshirley
Sat Sep 14, 2019 11:38 am
Forum: Roku Developer Program
Topic: HTTP PUT to AWS S3 - Payload Issue
Replies: 3
Views: 505

HTTP PUT to AWS S3 - Payload Issue

I'm trying to upload a file to an AWS S3 bucket.  I've come to a dead end for the past several days and haven't been able to find any online resources to address my current challenge. I've successfully written the code to calculate the signature and Authorization Header.  I'm using the following hea...
by wshirley
Fri Sep 06, 2019 2:49 pm
Forum: Roku Developer Program
Topic: Stuck using HMAC
Replies: 2
Views: 479

Re: Stuck using HMAC

SOLVED!  Thank you , thank you, thank you!  Your code worked. My bad for not seeing the typos, especially the AWS vs AWS4.  Sometimes you stare at code so long, you don't really even "see" it anymore. I started with an example here:   https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-...
by wshirley
Fri Sep 06, 2019 9:58 am
Forum: Roku Developer Program
Topic: Stuck using HMAC
Replies: 2
Views: 479

Stuck using HMAC

I'm debugging code by working through an Amazon AWS S3 "Put" example.  I'm at a step where I need to run an HMAC SHA256 hash.  In the AWS example, they express it as: HMAC-SHA256("AWS4" + "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY","20130524") and the result, i...
by wshirley
Sun Sep 01, 2019 11:05 am
Forum: Roku Developer Program
Topic: Uploading file to AWS S3 Bucket
Replies: 0
Views: 782

Uploading file to AWS S3 Bucket

I'm trying to upload a text file to an Amazon AWS S3 Bucket from a Roku SDK channel.  I believe I have successfully written the code to generate the authorization signature (response now comes back as "true" instead of a "400" range error code from AWS). I'm using the following c...
by wshirley
Wed Aug 21, 2019 10:52 am
Forum: Roku Developer Program
Topic: Validating Vimeo Feed for Search
Replies: 0
Views: 386

Validating Vimeo Feed for Search

Roku's information about setting up a Channel for Search  contains this statement: ⋅ Submit an up-to-date XML feed of your available content to Roku using the correct XML schema. Here is the URL:  https://developer.roku.com/search/feed_validator . We do not accept feeds which do not pass ...
by wshirley
Thu Aug 08, 2019 10:45 am
Forum: Roku Developer Program
Topic: Label List Vertical Text Alignment
Replies: 0
Views: 348

Label List Vertical Text Alignment

I have a LabelList of buttons and have a focusBitmapURI png file for the button shape/color.  I'm trying to get the text that displays on top of the focusBitmapURI to be vertically centered.  When I print out the UserButtons  (see code below) in the debug console, there clearly is a field for vertTe...
by wshirley
Tue Jul 30, 2019 2:27 pm
Forum: Roku Developer Program
Topic: Computing sha256 hash on an empty string
Replies: 3
Views: 398

Re: Computing sha256 hash on an empty string

Not a huge difference.

Trying to maintain better programming practice and hard coding numbers in my view generally is not good practice.

I would rather have a generic function that I can pass any value to, but I suppose I can hardcode it there.  Thx.
by wshirley
Tue Jul 30, 2019 7:39 am
Forum: Roku Developer Program
Topic: Computing sha256 hash on an empty string
Replies: 3
Views: 398

Computing sha256 hash on an empty string

I'm trying to connect to an Amazon S3 bucket using a "Get" command.  The Get has no payload, so Amazon requires a header with a SHA256 hash on an empty string.  I've tried the following code (and several variations on the theme), but I always get an empty value instead of ...
by wshirley
Sat Jul 20, 2019 1:50 pm
Forum: Roku Developer Program
Topic: Hero Channel Rowlist customitem
Replies: 3
Views: 452

Re: Hero Channel Rowlist customitem

I solved this issue.  I didn't realize that the posters are created on the fly when the rowlist is displayed.  I only needed to update the bookmarkposition field to get an updated rectangle.  I didn't need to access the progressrectangle node itself or any of its fields, as they are generated on the...
by wshirley
Sat Jul 20, 2019 11:43 am
Forum: Roku Developer Program
Topic: Hero Channel Rowlist customitem
Replies: 3
Views: 452

Hero Channel Rowlist customitem

I'm building off the Hero Channel sample code.  I have added a rectangle node to the customItem component that is attached to the RowList. I'm using the Rectangle object to function as a "progress bar" based on the item's bookmark value by varying the width of the Rectangle using a simple ...