This is a minimal Roku channel to listen to https://theclassicalstation.org.
The information about what's currently playing can be off a little. It's based on the times on the playlist prepared before the programs, but since all music is played by live announcers, the pieces may start and end a minute or two ahead or behind of the plan.
An overview to Roku Programming starts at https://developer.roku.com/docs/developer-program/getting-started/roku-dev-prog.md.
Reference documentation for the Roku API is at https://developer.roku.com/docs/references/references-overview.md.
Docs at https://developer.roku.com/docs/developer-program/publishing/packaging-channels.md
-
Enable developer mode on the Roku. (Instructions available all over the place, so not copied here. e.g. https://developer.roku.com/docs/developer-program/getting-started/developer-setup.md)
-
Telnet to port 8080 on the Roku. E.g.:
$ telnet 192.168.0.5 8080 Trying 192.168.0.5... Connected to 192.168.0.5. Escape character is '^]'. ......... ({modelname} - {Roku OS Version})
-
Enter "genkey" and hit Enter:
genkey ......+++++ .......................................................................................... ...................................+++++ Password: xxxxxxxxxxxxxxxxxxxxxxxx DevID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
RECORD the password and DevID for later use.
-
Edit manifest file:
- Increment minor_version
- Increment build_version
- Make sure "runTests=false"
- Commit to git, including "v{major_version}.{minor_version}.{build_version} in the commit message. E.g. v1.10.22
-
Package the channel into a signed .pkg file:
-
Install onto a Roku. (https://developer.roku.com/docs/developer-program/getting-started/developer-setup.md)
-
Go to http://{roku_ip_address}. E.g. http://192.168.0.5. Login with your Roku's developer ID.
-
Click the "Convert to cramfs" button
-
On the same page, click "Packager" in the top right
-
In "App name", enter "The Classical Station/{major_version}.{minor_version}.{build_version}", e.g. "The Classical Station/1.10.22"
-
In the password field, enter the password recorded when the Roku was set up for packaging releases.
-
Click "Package"
-
You should now see on the page something like this, where the package filename is a link
Currently Packaged Application: Pd0670dbdc81808d0a6f53d1a02f932fe.pkg package file (781232 bytes)
-
Click the link to download the package file. Save it somewhere.
-
-
Upload the package file to developer.roku.com:
-
Go to your developer dashboard at https://developer.roku.com (click Dashboard)
-
Under "My Channels", click the channel you're releasing.
-
Next to "Manage my Channels v", change the dropdown to "Package Upload".
-
Enter the {major_version}.{minor_version}, click "Upload package" and select the package file previously downloaded from your Roku, check "I'm not a robot", and click "Submit".
-
-
Run Static Analysis:
-
Scroll down until you can click on "Static Analysis".
-
Click "Analyze". Wait 10-20 seconds. Click "Refresh". Repeat until the analysis is complete.
-
Resolve any warnings or errors, then start the whole process over, until the analysis is clean.
-
-
Publish the new version:
-
Next to "Manage my Channels v", change the dropdown to "Preview and Publish".
-
Scroll down and click "Submit for publishing".
-