I am extremely new to brightscript development, and at the moment would just like to modify some of the Roku example programs with my own video links, and then re-compile to upload to my private roku channel.
I can’t seem to figure out how to open the brightscript editor. I am on Mac OSX, but also have win 7. What is the easiest way to edit the sample .brs files?
Once I edit these files, how do I recompile them into the .zip which can be imported into my private channel.
I can’t seem to figure out how to open the brightscript editor. I am on Mac OSX, but also have win 7. What is the easiest way to edit the sample .brs files?
“mckayj” wrote:
2. Once I edit these files, how do I recompile them into the .zip which can be imported into my private channel.
BrightScript is an interpreted language. There is no compiling. You can use any zip utility to package your channel. Take a look at Section 7 of the Developer Guide and the Channel Packaging and Publishing document in the SDK. There are also sample makefiles in the SDK that are helpful.
However when I use OSX to compress the “simple video player” folder after I make the changes, and upload it using the development application installer, it says uploaded successfully, but does not show up on my channel list. When I upload the already compiled zip files that came in the SDK, they open fine. Any idea what may be causing this?
Be sure you are zipping up the contents of the folder and not the folder itself. Your package structure should be myChannel.zip/source/, not myChannel.zip/myChannel/source/